From 08d5139631e423860dcafc99bb5d22cf7da9f221 Mon Sep 17 00:00:00 2001 From: eehouse Date: Mon, 8 Mar 2010 06:11:30 +0000 Subject: [PATCH] translate blank text from '_' to '?' --- xwords4/android/XWords4/jni/drawwrapper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xwords4/android/XWords4/jni/drawwrapper.c b/xwords4/android/XWords4/jni/drawwrapper.c index 2ec44f167..3e8a26048 100644 --- a/xwords4/android/XWords4/jni/drawwrapper.c +++ b/xwords4/android/XWords4/jni/drawwrapper.c @@ -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 ); }