diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 04:44:35 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 04:44:35 +0000 |
commit | 0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (patch) | |
tree | b81fde138c27395492788b527b7e781a85c44c6f /plugins/BuddyPounce | |
parent | 850259c4eab1a77d973af51cd3bd62fbbd09f591 (diff) |
GetWindowText(GetDlgItem(...)) -> GetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BuddyPounce')
-rw-r--r-- | plugins/BuddyPounce/src/dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BuddyPounce/src/dialog.cpp b/plugins/BuddyPounce/src/dialog.cpp index 38de85b198..de7e487105 100644 --- a/plugins/BuddyPounce/src/dialog.cpp +++ b/plugins/BuddyPounce/src/dialog.cpp @@ -593,9 +593,9 @@ INT_PTR CALLBACK PounceSentDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP case IDOK:
{
TCHAR text[2048];
- GetWindowText(GetDlgItem(hwnd, IDOK), text, SIZEOF(text));
+ GetDlgItemText(hwnd, IDOK, text, SIZEOF(text));
if (!_tcscmp(text, TranslateT("Retry"))) {
- GetWindowText(GetDlgItem(hwnd,IDC_MESSAGE), text, SIZEOF(text));
+ GetDlgItemText(hwnd, IDC_MESSAGE, text, SIZEOF(text));
SendPounce(text, hContact);
}
}
|