Parcourir la source

Android: Fixed misleading warning in log output (thanks, Sylvain!).

Fixes Bugzilla #3418.
Philipp Wiesemann il y a 9 ans
Parent
commit
9581d4a585
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/core/android/SDL_android.c

+ 1 - 1
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");