summaryrefslogtreecommitdiff
path: root/plugins/Variables
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 05:13:25 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 05:13:25 +0000
commitbc7df32e3b5a264c0eeb6a20b723cdab02cf7688 (patch)
tree1d5319a5cb712b9b56ad4834acc9a5198e6adb97 /plugins/Variables
parent0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (diff)
SetWindowText(GetDlgItem(...)) -> SetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables')
-rw-r--r--plugins/Variables/src/help.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Variables/src/help.cpp b/plugins/Variables/src/help.cpp
index 89986aedb5..fcc86aa69f 100644
--- a/plugins/Variables/src/help.cpp
+++ b/plugins/Variables/src/help.cpp
@@ -724,7 +724,7 @@ static INT_PTR CALLBACK inputDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM
if (newString != NULL) {
TCHAR *oldString = Hlp_GetDlgItemText(hwndDlg, IDC_RESULT);
if (oldString == NULL || _tcscmp(oldString, newString))
- SetWindowText(GetDlgItem(hwndDlg, IDC_RESULT), newString);
+ SetDlgItemText(hwndDlg, IDC_RESULT, newString);
mir_free(newString);
if (oldString != NULL)
@@ -873,7 +873,7 @@ static INT_PTR CALLBACK helpDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM l
}
}
if (dat->vhs->fi != NULL || dat->vhs->hwndCtrl != NULL) {
- SetWindowText(GetDlgItem(hwndDlg, IDC_CANCEL), TranslateT("Cancel"));
+ SetDlgItemText(hwndDlg, IDC_CANCEL, TranslateT("Cancel"));
ShowWindow(GetDlgItem(hwndDlg, IDC_OK), SW_SHOW);
}
}