diff options
Diffstat (limited to 'plugins/SpellChecker/src/options.cpp')
-rw-r--r-- | plugins/SpellChecker/src/options.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/SpellChecker/src/options.cpp b/plugins/SpellChecker/src/options.cpp index 09157e2cb3..7b462e072e 100644 --- a/plugins/SpellChecker/src/options.cpp +++ b/plugins/SpellChecker/src/options.cpp @@ -163,9 +163,8 @@ static void DrawItem(HWND hwndDlg, LPDRAWITEMSTRUCT lpdis, Dictionary *dict) rc.left = lpdis->rcItem.left + 2;
// Draw icon
- if (opts.use_flags)
- {
- HICON hFlag = IcoLib_LoadIcon(dict);
+ if (opts.use_flags) {
+ HICON hFlag = Skin_GetIcon( _T2A(dict->language));
rc.top = (lpdis->rcItem.bottom + lpdis->rcItem.top - ICON_SIZE) / 2;
DrawIconEx(lpdis->hDC, rc.left, rc.top, hFlag, 16, 16, 0, NULL, DI_NORMAL);
|