diff src/SDL_compat.c @ 5255:f908e06b3c96

Fixed compiling on Windows
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Feb 2011 10:13:30 -0800
parents 762e40fb8e28
children b530ef003506
line wrap: on
line diff
--- a/src/SDL_compat.c	Fri Feb 11 00:25:44 2011 -0800
+++ b/src/SDL_compat.c	Fri Feb 11 10:13:30 2011 -0800
@@ -79,7 +79,7 @@
         variable = SDL_getenv("SDL_VIDEO_FULLSCREEN_HEAD");
     }
     if ( variable ) {
-        SDL_atoi(variable);
+        return SDL_atoi(variable);
     } else {
         return 0;
     }