mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-02-02 22:05:10 +01:00
Fixed warning in vc++ 6
This commit is contained in:
parent
af6c61c241
commit
b930b9d166
|
|
@ -188,5 +188,5 @@ bool getBooleanProperty(JNIEnv *env, const char* propertyName) {
|
|||
jstring property = env->NewStringUTF(propertyName);
|
||||
jclass booleanClass = env->FindClass("java/lang/Boolean");
|
||||
jmethodID getBoolean = env->GetStaticMethodID(booleanClass, "getBoolean", "(Ljava/lang/String;)Z");
|
||||
return env->CallStaticBooleanMethod(booleanClass, getBoolean, property);
|
||||
return env->CallStaticBooleanMethod(booleanClass, getBoolean, property)? true : false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue