diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/DbEditorPP/src/settinglist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DbEditorPP/src/settinglist.cpp b/plugins/DbEditorPP/src/settinglist.cpp index e040ac7197..82e7ff0694 100644 --- a/plugins/DbEditorPP/src/settinglist.cpp +++ b/plugins/DbEditorPP/src/settinglist.cpp @@ -350,12 +350,12 @@ static LRESULT CALLBACK SettingLabelEditSubClassProc(HWND hwnd,UINT msg,WPARAM w switch (LOWORD(wParam)) {
case IDOK:
{
- int len = GetWindowTextLength(hwnd) + 1;
+ int len = GetWindowTextLengthA(hwnd) + 1;
char *value = (char*)_alloca(len);
WCHAR *wc = NULL;
DBVARIANT dbv = { 0 };
- GetWindowText(hwnd, value, len);
+ GetWindowTextA(hwnd, value, len);
if (info->unicode)
wc = mir_a2u(value);
|