src/core/android/SDL_android.cpp
changeset 7368 0e12e09df086
parent 7246 be3beed886ea
--- a/src/core/android/SDL_android.cpp	Sun Jul 07 02:03:07 2013 -0400
+++ b/src/core/android/SDL_android.cpp	Sun Jul 07 16:11:29 2013 +0200
@@ -757,7 +757,7 @@
 
         JNIEnv *mEnv = Android_JNI_GetEnv();
         if (!refs.init(mEnv)) {
-            return -1;
+            return 0;
         }
 
         jobject readableByteChannel = (jobject)ctx->hidden.androidio.readableByteChannelRef;