src/video/uikit/SDL_uikitappdelegate.m
changeset 10031 2b3baddd9afa
parent 9998 f67cf37e9cd4
child 10048 b86bef2d4f30
     1.1 --- a/src/video/uikit/SDL_uikitappdelegate.m	Tue Jan 05 02:29:16 2016 -0500
     1.2 +++ b/src/video/uikit/SDL_uikitappdelegate.m	Tue Jan 05 05:22:35 2016 -0500
     1.3 @@ -451,10 +451,11 @@
     1.4  {
     1.5      NSURL *fileURL = url.filePathURL;
     1.6      if (fileURL != nil) {
     1.7 -        SDL_SendDropFile([fileURL.path UTF8String]);
     1.8 +        SDL_SendDropFile(NULL, [fileURL.path UTF8String]);
     1.9      } else {
    1.10 -        SDL_SendDropFile([url.absoluteString UTF8String]);
    1.11 +        SDL_SendDropFile(NULL, [url.absoluteString UTF8String]);
    1.12      }
    1.13 +    SDL_SendDropComplete(NULL);
    1.14      return YES;
    1.15  }
    1.16