aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/menu/application.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp
index 30151169..3505f498 100644
--- a/src/menu/application.cpp
+++ b/src/menu/application.cpp
@@ -130,8 +130,8 @@ namespace usdx
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
// center screen
- char test[] = "SDL_VIDEO_CENTERED=center";
- SDL_putenv(test);
+ char env[] = "SDL_VIDEO_CENTERED=center";
+ SDL_putenv(env);
// create screen
display = SDL_SetVideoMode(get_width(),