From c4409487fdb2822309b9d8cf79bcd7d3895b8390 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 22 Apr 2020 02:36:36 +0200 Subject: Const correct (most) strings At least those cases that are reported by gcc and/or clang. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index c3e3b67..45b4dc4 100644 --- a/src/main.c +++ b/src/main.c @@ -342,12 +342,12 @@ void NextVideoMode2() CurrentVideoMode = cur; } -char *GetVideoModeDescription2() +const char *GetVideoModeDescription2() { return "SDL"; } -char *GetVideoModeDescription3() +const char *GetVideoModeDescription3() { static char buf[64]; -- cgit v1.3