use SDL's functions version inplace of libc version

This commit is contained in:
Sylvain authored and Sam Lantinga committed 2021-11-22 08:38:46 -08:00
1 parent 35b7ce1893
commit d31251b014
46 files changed
+114 -124

No files matched your search

+2 -2
View File
@@ -648,12 +648,12 @@ int main(int argc, char *argv[])
}
for (argc--, argv++; argc > 0; argc--, argv++)
{
if (strcmp(argv[0], "--help") == 0) {
if (SDL_strcmp(argv[0], "--help") == 0) {
usage();
return 0;
}
else if (strcmp(argv[0], "--font") == 0)
else if (SDL_strcmp(argv[0], "--font") == 0)
{
argc--;
argv++;