diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 05:13:25 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 05:13:25 +0000 |
commit | bc7df32e3b5a264c0eeb6a20b723cdab02cf7688 (patch) | |
tree | 1d5319a5cb712b9b56ad4834acc9a5198e6adb97 /plugins/Folders/src | |
parent | 0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (diff) |
SetWindowText(GetDlgItem(...)) -> SetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Folders/src')
-rw-r--r-- | plugins/Folders/src/dlg_handlers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Folders/src/dlg_handlers.cpp b/plugins/Folders/src/dlg_handlers.cpp index 160bb89e73..2b09a442aa 100644 --- a/plugins/Folders/src/dlg_handlers.cpp +++ b/plugins/Folders/src/dlg_handlers.cpp @@ -21,7 +21,7 @@ static void GetEditText(HWND hWnd, TCHAR *buffer, int size) static void SetEditText(HWND hWnd, const TCHAR *buffer)
{
bInitializing = 1;
- SetWindowText(GetDlgItem(hWnd, IDC_FOLDER_EDIT), buffer);
+ SetDlgItemText(hWnd, IDC_FOLDER_EDIT, buffer);
bInitializing = 0;
}
@@ -74,7 +74,7 @@ static void RefreshPreview(HWND hWnd) TCHAR tmp[MAX_FOLDER_SIZE], res[MAX_FOLDER_SIZE];
GetEditText(hWnd, tmp, MAX_FOLDER_SIZE);
ExpandPath(res, tmp, MAX_FOLDER_SIZE);
- SetWindowText(GetDlgItem(hWnd, IDC_PREVIEW_EDIT), res);
+ SetDlgItemText(hWnd, IDC_PREVIEW_EDIT, res);
}
static void LoadItem(HWND hWnd, PFolderItem item)
|