mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
@@ -932,7 +932,7 @@ int SDL_atoi(const char *string)
|
||||
#ifdef HAVE_ATOI
|
||||
return atoi(string);
|
||||
#else
|
||||
return SDL_strtol(string, NULL, 0);
|
||||
return SDL_strtol(string, NULL, 10);
|
||||
#endif /* HAVE_ATOI */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user