Changed strdup() to SDL_strdup().
This commit is contained in:
parent
074edba0c1
commit
74e1355637
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue