Skip to content

Commit

Permalink
Android: some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Jan 20, 2019
1 parent b9aa376 commit 8ad4000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/android/SDL_android.c
Expand Up @@ -331,13 +331,13 @@ JNIEnv* Android_JNI_GetEnv(void)
/* Get JNIEnv from the Thread local storage */
JNIEnv *env = pthread_getspecific(mThreadKey);
if (env == NULL) {
/* If it fails, try to attach ! (e.g the thread isn't * created with SDL_CreateThread() */
/* If it fails, try to attach ! (e.g the thread isn't created with SDL_CreateThread() */
int status;

/* There should be a JVM */
if (mJavaVM == NULL) {
__android_log_print(ANDROID_LOG_ERROR, "SDL", "Failed, there is no JavaVM");
return 0;
return NULL;
}

/* Attach the current thread to the JVM and get a JNIEnv.
Expand Down

0 comments on commit 8ad4000

Please sign in to comment.