From f383381b80a3220c9e3b67e86dae5f218b01e33e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 20 Oct 2012 20:34:46 +0000 Subject: - fix for extra icons in modern - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2004 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_rowtemplateopt.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_modern/src/modern_rowtemplateopt.cpp') 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); } -- cgit v1.2.3