From 908f4d19524e2d1d97f62cda7261b2edcc313f28 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 27 Nov 2005 20:13:42 +0000 Subject: [PATCH] fix for STUBBED_DICT case --- wince/ceginfo.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wince/ceginfo.c b/wince/ceginfo.c index fcb3cc7e4..5dce4372a 100755 --- a/wince/ceginfo.c +++ b/wince/ceginfo.c @@ -102,7 +102,9 @@ loadFromGameInfo( HWND hDlg, CEAppGlobals* globals, GameInfoState* giState ) #endif /* set the dictionary name */ - if ( !!gi->dictName ) { + if ( 0 ) { +#ifndef STUBBED_DICT + } else if ( !!gi->dictName ) { str = bname( gi->dictName ); XP_MEMCPY( giState->newDictName, gi->dictName, (XP_U16)XP_STRLEN(gi->dictName)+1 ); @@ -111,11 +113,10 @@ loadFromGameInfo( HWND hDlg, CEAppGlobals* globals, GameInfoState* giState ) XP_MEMCPY( giState->newDictName, str, (XP_U16)XP_STRLEN(str)+1 ); XP_FREE( globals->mpool, str ); str = bname( giState->newDictName ); - +#endif } else { #ifdef STUBBED_DICT /* assumption is there's no dict on the device */ - XP_ASSERT( !ceLocateNthDict( MPPARM(globals->mpool) 0 ) ); str = "(Stub dict)"; #else str = "--pick--";