mirror of
https://github.com/yawut/SDL.git
synced 2026-06-14 20:50:33 -05:00
Changed strdup() to SDL_strdup().
This commit is contained in:
parent
d4ebc23d72
commit
ddc93adadf
|
|
@ -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…
Reference in New Issue
Block a user