mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-09 22:00:39 +01:00
don't try to sort a null array!
This commit is contained in:
parent
eb728e4368
commit
148286313f
1 changed files with 3 additions and 1 deletions
|
@ -176,7 +176,9 @@ public class XwJNI {
|
|||
String[] result = null;
|
||||
if ( BuildConfig.HAVE_KNOWN_PLAYERS ) {
|
||||
result = kplr_getPlayers( getJNI().m_ptrGlobals );
|
||||
Arrays.sort( result );
|
||||
if ( null != result ) {
|
||||
Arrays.sort( result );
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue