diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-18 11:49:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-18 11:49:54 +0000 |
commit | 878d72910cccf4f84c7cb45bb4c11134920f3166 (patch) | |
tree | 251fba89632c389309ff9b2451850aa949efb8d0 /plugins/QuickMessages/src/options.cpp | |
parent | 871410044ecbac0d2dd67a7c98f8bcd2df9410eb (diff) |
- naming conflict;
- warning fixes;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14988 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickMessages/src/options.cpp')
-rw-r--r-- | plugins/QuickMessages/src/options.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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++;
|