From 4bbde37464e736e38ba526a3edfd7c47986d00d8 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Fri, 22 May 2020 01:42:07 +0300 Subject: [PATCH] this ain't const anymore --- src/pc/gfx/gfx_sdl2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pc/gfx/gfx_sdl2.c b/src/pc/gfx/gfx_sdl2.c index 19ef621f..58ef09af 100644 --- a/src/pc/gfx/gfx_sdl2.c +++ b/src/pc/gfx/gfx_sdl2.c @@ -156,7 +156,7 @@ static void gfx_sdl_init(void) { else if (gCLIOpts.FullScreen == 2) configWindow.fullscreen = false; - const char window_title[96] = + char window_title[96] = #ifndef USE_GLES "Super Mario 64 PC port (OpenGL)"; #else @@ -164,8 +164,7 @@ static void gfx_sdl_init(void) { #endif #ifdef NIGHTLY - strcat(window_title, " nightly "); - strcat(window_title, GIT_HASH); + strcat(window_title, " nightly " GIT_HASH); #endif wnd = SDL_CreateWindow(