Skip to content
Permalink
Browse files

Android: Fixed up drop events for new interface.

  • Loading branch information
icculus committed Jan 5, 2016
1 parent eeb8999 commit 881ccccbcf326389227315f3e3425cd5f9c5f6cf

File 1 of 1 in 881cccc

@@ -144,8 +144,9 @@ void Java_org_libsdl_app_SDLActivity_onNativeDropFile(
jstring filename)
{
const char *path = (*env)->GetStringUTFChars(env, filename, NULL);
SDL_SendDropFile(path);
SDL_SendDropFile(NULL, path);
(*env)->ReleaseStringUTFChars(env, filename, path);
SDL_SendDropComplete(NULL);
}

/* Resize */

0 comments on commit 881cccc

Please sign in to comment.