this ain't const anymore

This commit is contained in:
fgsfds 2020-05-22 01:42:07 +03:00
parent 686ea5be7b
commit 4bbde37464

View file

@ -156,7 +156,7 @@ static void gfx_sdl_init(void) {
else if (gCLIOpts.FullScreen == 2) else if (gCLIOpts.FullScreen == 2)
configWindow.fullscreen = false; configWindow.fullscreen = false;
const char window_title[96] = char window_title[96] =
#ifndef USE_GLES #ifndef USE_GLES
"Super Mario 64 PC port (OpenGL)"; "Super Mario 64 PC port (OpenGL)";
#else #else
@ -164,8 +164,7 @@ static void gfx_sdl_init(void) {
#endif #endif
#ifdef NIGHTLY #ifdef NIGHTLY
strcat(window_title, " nightly "); strcat(window_title, " nightly " GIT_HASH);
strcat(window_title, GIT_HASH);
#endif #endif
wnd = SDL_CreateWindow( wnd = SDL_CreateWindow(