Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Changed strdup() to SDL_strdup().
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jul 15, 2013
1 parent c799c2d commit 73e63b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/android/SDL_android_main.cpp
Expand Up @@ -25,7 +25,7 @@ extern "C" void Java_org_libsdl_app_SDLActivity_nativeInit(JNIEnv* env, jclass c
/* Run the application code! */
int status;
char *argv[2];
argv[0] = strdup("SDL_app");
argv[0] = SDL_strdup("SDL_app");
argv[1] = NULL;
status = SDL_main(1, argv);

Expand Down

0 comments on commit 73e63b5

Please sign in to comment.