From 9581d4a585f77f01b4fb1bf88ca55206afdfa14b Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Tue, 30 Aug 2016 21:15:18 +0200 Subject: [PATCH] Android: Fixed misleading warning in log output (thanks, Sylvain!). Fixes Bugzilla #3418. --- src/core/android/SDL_android.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index c0550d8dd..fcb0bc7b5 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -144,7 +144,7 @@ JNIEXPORT void JNICALL SDL_Android_Init(JNIEnv* mEnv, jclass cls) bHasNewData = SDL_FALSE; if (!midGetNativeSurface || - !midAudioOpen || !midAudioWriteShortBuffer || !midAudioWriteByteBuffer || !midAudioClose || ! + !midAudioOpen || !midAudioWriteShortBuffer || !midAudioWriteByteBuffer || !midAudioClose || !midCaptureOpen || !midCaptureReadShortBuffer || !midCaptureReadByteBuffer || !midCaptureClose || !midPollInputDevices) { __android_log_print(ANDROID_LOG_WARN, "SDL", "SDL: Couldn't locate Java callbacks, check that they're named and typed correctly");