mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
null param ok for board_getActiveRect in jni
This commit is contained in:
parent
e780b536f9
commit
71d83e188e
1 changed files with 4 additions and 2 deletions
|
@ -755,8 +755,10 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1getActiveRect
|
||||||
setInt( env, jrect, "top", rect.top );
|
setInt( env, jrect, "top", rect.top );
|
||||||
setInt( env, jrect, "right", rect.left + rect.width );
|
setInt( env, jrect, "right", rect.left + rect.width );
|
||||||
setInt( env, jrect, "bottom", rect.top + rect.height );
|
setInt( env, jrect, "bottom", rect.top + rect.height );
|
||||||
setIntInArray( env, dims, 0, nCols );
|
if ( !!dims ) {
|
||||||
setIntInArray( env, dims, 1, nRows );
|
setIntInArray( env, dims, 0, nCols );
|
||||||
|
setIntInArray( env, dims, 1, nRows );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
XWJNI_END();
|
XWJNI_END();
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue