Android: Fixed up drop events for new interface.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 05 Jan 2016 05:31:33 -0500
changeset 10032 e661304722ce
parent 10031 2b3baddd9afa
child 10033 03a8adcb6460
Android: Fixed up drop events for new interface.
src/core/android/SDL_android.c
--- a/src/core/android/SDL_android.c	Tue Jan 05 05:22:35 2016 -0500
+++ b/src/core/android/SDL_android.c	Tue Jan 05 05:31:33 2016 -0500
@@ -144,8 +144,9 @@
                                     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 */