diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-22 09:36:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-22 09:36:17 +0000 |
commit | 2b72ef9487d1487cb4096b359c3dec675ae2703e (patch) | |
tree | dc297e3e92488805f84ef2ddc227cd23bb8dd5f9 | |
parent | 813a52cb503d3ac216c639214de550627085c734 (diff) |
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8678 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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);
|