mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-27 02:30:35 +00:00
revert most of "Switch working copy to Goanna 4" (https://github.com/MoonchildProductions/moebius/commit/c4895374053ab93b4f365d3e690e99a30ffa1a2f) in order to keep upstream patch applicable
This commit is contained in:
@@ -15,7 +15,7 @@ nsJNIString::nsJNIString(jstring jstr, JNIEnv *jenv)
|
||||
}
|
||||
JNIEnv *jni = jenv;
|
||||
if (!jni) {
|
||||
jni = jni::GetGoannaThreadEnv();
|
||||
jni = jni::GetGeckoThreadEnv();
|
||||
}
|
||||
const jchar* jCharPtr = jni->GetStringChars(jstr, nullptr);
|
||||
|
||||
@@ -42,7 +42,7 @@ nsJNICString::nsJNICString(jstring jstr, JNIEnv *jenv)
|
||||
}
|
||||
JNIEnv *jni = jenv;
|
||||
if (!jni) {
|
||||
jni = jni::GetGoannaThreadEnv();
|
||||
jni = jni::GetGeckoThreadEnv();
|
||||
}
|
||||
const char* jCharPtr = jni->GetStringUTFChars(jstr, nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user