diff options
Diffstat (limited to 'android/main-common.c')
-rw-r--r-- | android/main-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/main-common.c b/android/main-common.c index 94accf7..a0e5f56 100644 --- a/android/main-common.c +++ b/android/main-common.c @@ -524,7 +524,7 @@ init_sdl_ui(AConfig* skinConfig, #endif /* we're not a game, so allow the screensaver to run */ - putenv("SDL_VIDEO_ALLOW_SCREENSAVER=1"); + setenv("SDL_VIDEO_ALLOW_SCREENSAVER","1",1); flags = SDL_INIT_NOPARACHUTE; if (!opts->no_window) |