mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
assert I've got the plurals vs singular strings right
This commit is contained in:
parent
930d72402d
commit
16e3ef9246
1 changed files with 2 additions and 0 deletions
|
@ -410,6 +410,8 @@ and_util_getUserString( XW_UtilCtxt* uc, XP_U16 stringCode )
|
||||||
int index = stringCode - 1; /* see LocalizedStrIncludes.h */
|
int index = stringCode - 1; /* see LocalizedStrIncludes.h */
|
||||||
XP_ASSERT( index < VSIZE( util->userStrings ) );
|
XP_ASSERT( index < VSIZE( util->userStrings ) );
|
||||||
|
|
||||||
|
XP_ASSERT( 0 == (util->userStringsBits & (1 << index)) );
|
||||||
|
|
||||||
if ( ! util->userStrings[index] ) {
|
if ( ! util->userStrings[index] ) {
|
||||||
jstring jresult = (*env)->CallObjectMethod( env, util->jutil, mid,
|
jstring jresult = (*env)->CallObjectMethod( env, util->jutil, mid,
|
||||||
stringCode );
|
stringCode );
|
||||||
|
|
Loading…
Reference in a new issue