diff --git a/xwords4/wince/cedraw.c b/xwords4/wince/cedraw.c index e98b95318..c87a746a5 100755 --- a/xwords4/wince/cedraw.c +++ b/xwords4/wince/cedraw.c @@ -100,7 +100,6 @@ struct CEDrawCtx { HWND mainWin; CEAppGlobals* globals; const DictionaryCtxt* dict; - UINT codePage; XP_UCHAR scoreCache[MAX_NUM_PLAYERS][32]; @@ -1857,7 +1856,6 @@ DRAW_FUNC_NAME(dictChanged)( DrawCtx* p_dctx, const DictionaryCtxt* dict ) ceClearFontCache( dctx ); } dctx->dict = dict; - dctx->codePage = dict_isUTF8(dict)? CP_UTF8 : CP_ACP; } #ifdef DRAW_LINK_DIRECT diff --git a/xwords4/wince/ceutil.c b/xwords4/wince/ceutil.c index 1a931c6b1..872e3c418 100755 --- a/xwords4/wince/ceutil.c +++ b/xwords4/wince/ceutil.c @@ -1078,20 +1078,6 @@ ceMessageBoxChar( CEAppGlobals* XP_UNUSED(globals), const XP_UCHAR* str, return MessageBox( parent, widebuf, title, buttons ); } /* ceMessageBoxChar */ -XP_Bool -ceCurDictIsUTF8( CEAppGlobals* globals ) -{ - XP_Bool result = XP_FALSE; - const ModelCtxt* model = globals->game.model; - if ( !!model ) { - const DictionaryCtxt* dict = model_getDictionary( model ); - if ( !!dict ) { - result = dict_isUTF8( dict ); - } - } - return result; -} /* ceCurDictIsUTF8 */ - XP_Bool ceGetExeDir( wchar_t* buf, XP_U16 bufLen ) {