mirror of
https://github.com/encounter/SDL.git
synced 2025-12-17 17:05:23 +00:00
use SDL's functions version inplace of libc version
This commit is contained in:
@@ -201,7 +201,7 @@ static int readBoolEnv(const char *env_name, int def_val)
|
||||
|
||||
stemp = SDL_getenv(env_name);
|
||||
if (stemp)
|
||||
return atoi(stemp);
|
||||
return SDL_atoi(stemp);
|
||||
else
|
||||
return def_val;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user