diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-20 20:34:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-20 20:34:46 +0000 |
commit | f383381b80a3220c9e3b67e86dae5f218b01e33e (patch) | |
tree | 67b3c11e367e0b3132339751b1ac7268b749cda6 /plugins/Clist_modern/src/modern_rowtemplateopt.cpp | |
parent | a99d97e92e9263dc53c072fdd39925ef513d1315 (diff) |
- fix for extra icons in modern
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2004 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_rowtemplateopt.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_rowtemplateopt.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_rowtemplateopt.cpp b/plugins/Clist_modern/src/modern_rowtemplateopt.cpp index cc64f3a522..f3179c982c 100644 --- a/plugins/Clist_modern/src/modern_rowtemplateopt.cpp +++ b/plugins/Clist_modern/src/modern_rowtemplateopt.cpp @@ -403,7 +403,7 @@ INT_PTR CALLBACK DlgTmplEditorOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM for (i=0; i < SIZEOF(types); i++)
{
item = SendDlgItemMessage(hwndDlg,IDC_CONTTYPE,CB_ADDSTRING,0,(LPARAM)TranslateTS(types[i]));
- SendDlgItemMessage(hwndDlg,IDC_CONTTYPE,CB_SETITEMDATA,item,(LPARAM)0);
+ SendDlgItemMessage(hwndDlg,IDC_CONTTYPE,CB_SETITEMDATA,item,0);
}
SendDlgItemMessage(hwndDlg,IDC_CONTTYPE,CB_SETCURSEL,0,0);
}
@@ -414,7 +414,7 @@ INT_PTR CALLBACK DlgTmplEditorOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM for (i=0; i < SIZEOF(alignment); i++)
{
item = SendDlgItemMessage(hwndDlg,IDC_HALIGN,CB_ADDSTRING,0,(LPARAM)TranslateTS(alignment[i]));
- SendDlgItemMessage(hwndDlg,IDC_HALIGN,CB_SETITEMDATA,item,(LPARAM)0);
+ SendDlgItemMessage(hwndDlg,IDC_HALIGN,CB_SETITEMDATA,item,0);
}
SendDlgItemMessage(hwndDlg,IDC_HALIGN,CB_SETCURSEL,0,0);
@@ -426,7 +426,7 @@ INT_PTR CALLBACK DlgTmplEditorOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM for (i=0; i < SIZEOF(alignment); i++)
{
item = SendDlgItemMessage(hwndDlg,IDC_VALIGN,CB_ADDSTRING,0,(LPARAM)TranslateTS(alignment[i]));
- SendDlgItemMessage(hwndDlg,IDC_VALIGN,CB_SETITEMDATA,item,(LPARAM)0);
+ SendDlgItemMessage(hwndDlg,IDC_VALIGN,CB_SETITEMDATA,item,0);
}
SendDlgItemMessage(hwndDlg,IDC_VALIGN,CB_SETCURSEL,0,0);
}
|