translate blank text from '_' to '?'

This commit is contained in:
eehouse 2010-03-08 06:11:30 +00:00
parent 6e08bbc9ce
commit 08d5139631

View file

@ -237,6 +237,9 @@ and_draw_drawCell( DrawCtx* dctx, const XP_Rect* rect, const XP_UCHAR* text,
jobject jrect = makeJRect( draw, JCACHE_RECT0, rect );
jstring jtext = NULL;
if ( !!text ) {
if ( 0 == strcmp( "_", text ) ) {
text = "?";
}
jtext = (*env)->NewStringUTF( env, text );
}