Android: fixed comments and spaces
authorSylvain Becker <sylvain.becker@gmail.com>
Sun, 30 Dec 2018 15:41:28 +0100
changeset 12489ed2da1cc4d4e
parent 12488 55f828c2af46
child 12490 e1e13e154128
Android: fixed comments and spaces
src/core/android/SDL_android.c
     1.1 --- a/src/core/android/SDL_android.c	Sun Dec 30 15:39:37 2018 +0100
     1.2 +++ b/src/core/android/SDL_android.c	Sun Dec 30 15:41:28 2018 +0100
     1.3 @@ -309,11 +309,11 @@
     1.4  void checkJNIReady()
     1.5  {
     1.6      if (!mActivityClass || !mAudioManagerClass || !mControllerManagerClass) {
     1.7 -        // We aren't fully initialized, let's just return.
     1.8 +        /* We aren't fully initialized, let's just return. */
     1.9          return;
    1.10      }
    1.11  
    1.12 -    SDL_SetMainReady();    
    1.13 +    SDL_SetMainReady();
    1.14  }
    1.15  
    1.16  /* Activity initialization -- called before SDL_main() to initialize JNI bindings */
    1.17 @@ -842,7 +842,7 @@
    1.18      SDL_Scancode code = SDL_SCANCODE_UNKNOWN;
    1.19      uint16_t mod = 0;
    1.20  
    1.21 -    // We do not care about bigger than 127.
    1.22 +    /* We do not care about bigger than 127. */
    1.23      if (chUnicode < 127) {
    1.24          AndroidKeyInfo info = unicharToAndroidKeyInfoTable[chUnicode];
    1.25          code = info.code;
    1.26 @@ -1823,7 +1823,7 @@
    1.27      JNIEnv* env = Android_JNI_GetEnv();
    1.28      char* text = NULL;
    1.29      jstring string;
    1.30 -    
    1.31 +
    1.32      string = (*env)->CallStaticObjectMethod(env, mActivityClass, midClipboardGetText);
    1.33      if (string) {
    1.34          const char* utf = (*env)->GetStringUTFChars(env, string, 0);
    1.35 @@ -1833,7 +1833,7 @@
    1.36          }
    1.37          (*env)->DeleteLocalRef(env, string);
    1.38      }
    1.39 -    
    1.40 +
    1.41      return (text == NULL) ? SDL_strdup("") : text;
    1.42  }
    1.43