diff options
Diffstat (limited to 'android/skin/window.c')
-rw-r--r-- | android/skin/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android/skin/window.c b/android/skin/window.c index e32a51f..57736e7 100644 --- a/android/skin/window.c +++ b/android/skin/window.c @@ -1252,9 +1252,9 @@ skin_window_resize( SkinWindow* window ) { char temp[32]; - sprintf(temp,"SDL_VIDEO_WINDOW_POS=%d,%d",window_x,window_y); - putenv(temp); - putenv("SDL_VIDEO_WINDOW_FORCE_VISIBLE=1"); + sprintf(temp, "%d,%d", window_x, window_y); + setenv("SDL_VIDEO_WINDOW_POS", temp, 1); + setenv("SDL_VIDEO_WINDOW_FORCE_VISIBLE", "1", 1); } flags = SDL_SWSURFACE; |