From 878d72910cccf4f84c7cb45bb4c11134920f3166 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Aug 2015 11:49:54 +0000 Subject: - naming conflict; - warning fixes; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14988 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickMessages/src/options.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/QuickMessages') diff --git a/plugins/QuickMessages/src/options.cpp b/plugins/QuickMessages/src/options.cpp index 6a21be954f..e3d2abfa1e 100644 --- a/plugins/QuickMessages/src/options.cpp +++ b/plugins/QuickMessages/src/options.cpp @@ -111,7 +111,6 @@ void SetMenuEntryProperties(HWND hdlg) { TVITEM tvi; HTREEITEM hItem = NULL; - ButtonData* bd = NULL; int pos = 0; if (TreeView_GetCount(hButtonsList) && (tvi.hItem = TreeView_GetSelection(hButtonsList))) { @@ -137,7 +136,7 @@ void SetMenuEntryProperties(HWND hdlg) TreeView_GetItem(hMenuTree, &tvi); if (tvi.lParam) { - ButtonData* bd = (ButtonData*)tvi.lParam; + ButtonData *bd = (ButtonData*)tvi.lParam; TCHAR szValue[256]; GetDlgItemText(hdlg, IDC_MENUVALUE, szValue, _countof(szValue)); if (mir_tstrlen(szValue)) { @@ -154,7 +153,7 @@ void SetMenuEntryProperties(HWND hdlg) } while (tvi.hItem) { TreeView_GetItem(hMenuTree, &tvi); - bd = (ButtonData*)tvi.lParam; + ButtonData *bd = (ButtonData*)tvi.lParam; bd->dwOPPos = pos++; -- cgit v1.2.3