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/DbEditorPP | |
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/DbEditorPP')
-rw-r--r-- | plugins/DbEditorPP/src/addeditsettingsdlg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/DbEditorPP/src/addeditsettingsdlg.cpp b/plugins/DbEditorPP/src/addeditsettingsdlg.cpp index 015523d8d8..53c6d1b9f9 100644 --- a/plugins/DbEditorPP/src/addeditsettingsdlg.cpp +++ b/plugins/DbEditorPP/src/addeditsettingsdlg.cpp @@ -283,7 +283,7 @@ INT_PTR CALLBACK EditSettingDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l if (setting)
{
// havta convert it with mir_snprintf()
- GetWindowText(GetDlgItem(hwnd, IDC_SETTINGVALUE), setting, settingLength+1);
+ GetDlgItemText(hwnd, IDC_SETTINGVALUE, setting, settingLength + 1);
if (LOWORD(wParam) == CHK_DECIMAL && IsDlgButtonChecked(hwnd, CHK_DECIMAL))
{
sscanf(setting, "%X", &tmp);
@@ -339,14 +339,14 @@ INT_PTR CALLBACK EditSettingDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l break;
}
- GetWindowText(GetDlgItem(hwnd, IDC_SETTINGNAME), setting, settingLength+1);
+ GetDlgItemText(hwnd, IDC_SETTINGNAME, setting, settingLength + 1);
if (valueLength)
{
if (dbsetting->dbv.type == DBVT_UTF8)
GetDlgItemTextW(hwnd, valueID, (LPWSTR)value, (valueLength + 2));
else
- GetWindowText(GetDlgItem(hwnd, valueID), value, valueLength+1);
+ GetDlgItemText(hwnd, valueID, value, valueLength + 1);
}
else
if (IsWindowVisible(GetDlgItem(hwnd,IDC_STRING)) || (saveAsType(hwnd)==3))
|