diff options
author | George Hazan <ghazan@miranda.im> | 2018-09-03 18:25:42 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-09-03 18:25:42 +0300 |
commit | c0274fa5abfcfb59a4c8ae4d113d705ea0272c4c (patch) | |
tree | d8eda62b1e94d67f84a121295a3cb8f68b01849e /plugins/YAPP/src/options.cpp | |
parent | 4db67c1a255bf379e63641eff1f3527ea6aa2759 (diff) |
popup code cleaning
Diffstat (limited to 'plugins/YAPP/src/options.cpp')
-rw-r--r-- | plugins/YAPP/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/YAPP/src/options.cpp b/plugins/YAPP/src/options.cpp index ac6877707c..1e2b70f3f8 100644 --- a/plugins/YAPP/src/options.cpp +++ b/plugins/YAPP/src/options.cpp @@ -361,9 +361,9 @@ static INT_PTR CALLBACK DlgProcOptsClasses(HWND hwndDlg, UINT msg, WPARAM wParam for (int i = 0; i < arNewClasses.getCount(); i++) {
POPUPCLASS *pc = arNewClasses[i];
if (pc->flags & PCF_UNICODE)
- index = SendDlgItemMessageW(hwndDlg, IDC_LST_CLASSES, LB_ADDSTRING, 0, (LPARAM)pc->pwszDescription);
+ index = SendDlgItemMessageW(hwndDlg, IDC_LST_CLASSES, LB_ADDSTRING, 0, (LPARAM)pc->pszDescription.w);
else
- index = SendDlgItemMessageA(hwndDlg, IDC_LST_CLASSES, LB_ADDSTRING, 0, (LPARAM)pc->pszDescription);
+ index = SendDlgItemMessageA(hwndDlg, IDC_LST_CLASSES, LB_ADDSTRING, 0, (LPARAM)pc->pszDescription.a);
SendDlgItemMessage(hwndDlg, IDC_LST_CLASSES, LB_SETITEMDATA, index, i);
}
|