mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
Show current dict in dropdown in game info mode. (Had disappeared in recent changes.)
This commit is contained in:
parent
dcc07ad95b
commit
ffc4de8c47
1 changed files with 6 additions and 0 deletions
|
@ -217,6 +217,12 @@ loadFromGameInfo( HWND hDlg, CEAppGlobals* globals, GameInfoState* giState )
|
||||||
SendDlgItemMessage( giState->hDlg, IDC_DICTCOMBO, CB_SETCURSEL,
|
SendDlgItemMessage( giState->hDlg, IDC_DICTCOMBO, CB_SETCURSEL,
|
||||||
0, 0L );
|
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
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue