diff options
Diffstat (limited to 'plugins/DbEditorPP/src/settinglist.cpp')
-rw-r--r-- | plugins/DbEditorPP/src/settinglist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DbEditorPP/src/settinglist.cpp b/plugins/DbEditorPP/src/settinglist.cpp index 51c93605ae..ef4bedafb4 100644 --- a/plugins/DbEditorPP/src/settinglist.cpp +++ b/plugins/DbEditorPP/src/settinglist.cpp @@ -347,7 +347,7 @@ static LRESULT CALLBACK SettingLabelEditSubClassProc(HWND hwnd,UINT msg,WPARAM w switch (LOWORD(wParam)) {
case IDOK:
{
- int len = GetWindowTextLengthA(hwnd) + 1;
+ int len = GetWindowTextLength(hwnd) + 1;
char *value = (char*)_alloca(len);
WCHAR *wc = NULL;
DBVARIANT dbv = { 0 };
|