test/testime.c
changeset 3581 15eea7a1fa97
parent 3478 f7541260e89c
child 4465 3e69e077cb95
     1.1 --- a/test/testime.c	Wed Dec 16 08:17:05 2009 +0000
     1.2 +++ b/test/testime.c	Wed Dec 16 10:59:51 2009 +0000
     1.3 @@ -60,7 +60,7 @@
     1.4          }
     1.5      }
     1.6  
     1.7 -    SDL_putenv("SDL_VIDEO_WINDOW_POS=center");
     1.8 +    SDL_setenv("SDL_VIDEO_WINDOW_POS", "center", 1);
     1.9      if (SDL_Init(SDL_INIT_VIDEO) < 0)
    1.10      {
    1.11          fprintf(stderr, "Unable to init SDL: %s\n", SDL_GetError());