Android: Fixed misleading warning in log output (thanks, Sylvain!).
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Tue, 30 Aug 2016 21:15:18 +0200
changeset 1029680190c2a271d
parent 10295 b75ad23f8811
child 10297 33cdc67b4990
Android: Fixed misleading warning in log output (thanks, Sylvain!).

Fixes Bugzilla #3418.
src/core/android/SDL_android.c
     1.1 --- a/src/core/android/SDL_android.c	Tue Aug 30 21:14:52 2016 +0200
     1.2 +++ b/src/core/android/SDL_android.c	Tue Aug 30 21:15:18 2016 +0200
     1.3 @@ -144,7 +144,7 @@
     1.4      bHasNewData = SDL_FALSE;
     1.5  
     1.6      if (!midGetNativeSurface ||
     1.7 -       !midAudioOpen || !midAudioWriteShortBuffer || !midAudioWriteByteBuffer || !midAudioClose || !
     1.8 +       !midAudioOpen || !midAudioWriteShortBuffer || !midAudioWriteByteBuffer || !midAudioClose ||
     1.9         !midCaptureOpen || !midCaptureReadShortBuffer || !midCaptureReadByteBuffer || !midCaptureClose ||
    1.10         !midPollInputDevices) {
    1.11          __android_log_print(ANDROID_LOG_WARN, "SDL", "SDL: Couldn't locate Java callbacks, check that they're named and typed correctly");