mirror of https://github.com/encounter/SDL.git
Android: fixed comments and spaces
This commit is contained in:
parent
2a412eb94c
commit
1e22fc1513
|
@ -309,7 +309,7 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved)
|
||||||
void checkJNIReady()
|
void checkJNIReady()
|
||||||
{
|
{
|
||||||
if (!mActivityClass || !mAudioManagerClass || !mControllerManagerClass) {
|
if (!mActivityClass || !mAudioManagerClass || !mControllerManagerClass) {
|
||||||
// We aren't fully initialized, let's just return.
|
/* We aren't fully initialized, let's just return. */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -842,7 +842,7 @@ JNIEXPORT void JNICALL SDL_JAVA_INTERFACE_INPUT_CONNECTION(nativeGenerateScancod
|
||||||
SDL_Scancode code = SDL_SCANCODE_UNKNOWN;
|
SDL_Scancode code = SDL_SCANCODE_UNKNOWN;
|
||||||
uint16_t mod = 0;
|
uint16_t mod = 0;
|
||||||
|
|
||||||
// We do not care about bigger than 127.
|
/* We do not care about bigger than 127. */
|
||||||
if (chUnicode < 127) {
|
if (chUnicode < 127) {
|
||||||
AndroidKeyInfo info = unicharToAndroidKeyInfoTable[chUnicode];
|
AndroidKeyInfo info = unicharToAndroidKeyInfoTable[chUnicode];
|
||||||
code = info.code;
|
code = info.code;
|
||||||
|
|
Loading…
Reference in New Issue