From d3b77308122587707580ec1f308dbdda38c806ac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Aug 2015 11:46:12 +0000 Subject: - naming conflict; - warning fixes; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14984 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/src/dlgboxsubclass.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/SmileyAdd/src/dlgboxsubclass.cpp') diff --git a/plugins/SmileyAdd/src/dlgboxsubclass.cpp b/plugins/SmileyAdd/src/dlgboxsubclass.cpp index 05cdc7343e..40fa8166b1 100644 --- a/plugins/SmileyAdd/src/dlgboxsubclass.cpp +++ b/plugins/SmileyAdd/src/dlgboxsubclass.cpp @@ -145,15 +145,15 @@ public: //helper function //identifies the message dialog - bool IsMessageSendDialog(HWND hwnd) + bool IsMessageSendDialog(HWND hwndDlg) { TCHAR szClassName[32] = _T(""); - GetClassName(hwnd, szClassName, _countof(szClassName)); + GetClassName(hwndDlg, szClassName, _countof(szClassName)); if (mir_tstrcmp(szClassName, _T("#32770"))) return false; - if ((REdit = GetDlgItem(hwnd, MI_IDC_LOG)) != NULL) { + if ((REdit = GetDlgItem(hwndDlg, MI_IDC_LOG)) != NULL) { GetClassName(REdit, szClassName, _countof(szClassName)); if (mir_tstrcmp(szClassName, _T("RichEdit20A")) != 0 && mir_tstrcmp(szClassName, _T("RichEdit20W")) != 0 && @@ -162,7 +162,7 @@ public: } else return false; - if ((MEdit = GetDlgItem(hwnd, MI_IDC_MESSAGE)) != NULL) { + if ((MEdit = GetDlgItem(hwndDlg, MI_IDC_MESSAGE)) != NULL) { GetClassName(MEdit, szClassName, _countof(szClassName)); if (mir_tstrcmp(szClassName, _T("Edit")) != 0 && mir_tstrcmp(szClassName, _T("RichEdit20A")) != 0 && @@ -172,14 +172,14 @@ public: } else return false; - QuoteB = GetDlgItem(hwnd, MI_IDC_QUOTE); + QuoteB = GetDlgItem(hwndDlg, MI_IDC_QUOTE); - if ((LButton = GetDlgItem(hwnd, MI_IDC_ADD)) == NULL) + if ((LButton = GetDlgItem(hwndDlg, MI_IDC_ADD)) == NULL) return false; - if (GetDlgItem(hwnd, MI_IDC_NAME) == NULL) + if (GetDlgItem(hwndDlg, MI_IDC_NAME) == NULL) return false; - if ((MOK = GetDlgItem(hwnd, IDOK)) == NULL) + if ((MOK = GetDlgItem(hwndDlg, IDOK)) == NULL) return false; return true; -- cgit v1.2.3