From ffc4de8c47a452f96cec424347324a640b366e52 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 22 Apr 2006 14:19:21 +0000 Subject: [PATCH] Show current dict in dropdown in game info mode. (Had disappeared in recent changes.) --- wince/ceginfo.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wince/ceginfo.c b/wince/ceginfo.c index 2a450e9a3..6094782df 100755 --- a/wince/ceginfo.c +++ b/wince/ceginfo.c @@ -217,6 +217,12 @@ loadFromGameInfo( HWND hDlg, CEAppGlobals* globals, GameInfoState* giState ) SendDlgItemMessage( giState->hDlg, IDC_DICTCOMBO, CB_SETCURSEL, 0, 0L ); } + } else { + wchar_t wPath[CE_MAX_PATH_LEN+1]; + XP_ASSERT( gi->dictName[0] != '\0' ); + MultiByteToWideChar( CP_ACP, MB_PRECOMPOSED, gi->dictName, -1, + wPath, sizeof(wPath)/sizeof(wPath[0]) ); + (void)addDictToMenu( wPath, 0, giState ); } #endif