add another change to changelist

This commit is contained in:
Eric House 2020-04-11 10:56:54 -07:00
parent 87e04ec667
commit 61a1ddae69
2 changed files with 9 additions and 5 deletions

View file

@ -25,9 +25,10 @@
<h3>New with this release</h3>
<ul>
<li>Show name in scoreboard as "Not here yet" until invitee connects</li>
<li>Fix crash drawing arrows on dark-background boards</li>
<li>Fix so game list entries collapse correctly again</li>
<li>Fix so bringing app to front keeps the open game open</li>
<li>Show name in scoreboard as "Not here yet" until invitee connects</li>
<li>Include more Norwegian translations</li>
</ul>

View file

@ -424,10 +424,13 @@ setIntInArray( JNIEnv* env, jintArray arr, int index, int val )
jobjectArray
makeStringArray( JNIEnv *env, const int count, const XP_UCHAR** vals )
{
jclass clas = (*env)->FindClass(env, "java/lang/String");
jstring empty = (*env)->NewStringUTF( env, "" );
jobjectArray jarray = (*env)->NewObjectArray( env, count, clas, empty );
deleteLocalRefs( env, clas, empty, DELETE_NO_REF );
jobjectArray jarray;
{
jclass clas = (*env)->FindClass(env, "java/lang/String");
jstring empty = (*env)->NewStringUTF( env, "" );
jarray = (*env)->NewObjectArray( env, count, clas, empty );
deleteLocalRefs( env, clas, empty, DELETE_NO_REF );
}
for ( int ii = 0; !!vals && ii < count; ++ii ) {
jstring jstr = (*env)->NewStringUTF( env, vals[ii] );