From 3411eb3cff54b0cc315058d21c2ebb3f295ea521 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 25 Mar 2013 15:48:10 +0000 Subject: - StartupStatus: unicode fix (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@4188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StatusPlugins/StartupStatus/options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/StatusPlugins/StartupStatus/options.cpp b/plugins/StatusPlugins/StartupStatus/options.cpp index 5d1d4a0ad8..70527d62bb 100644 --- a/plugins/StatusPlugins/StartupStatus/options.cpp +++ b/plugins/StatusPlugins/StartupStatus/options.cpp @@ -883,8 +883,8 @@ INT_PTR CALLBACK addProfileDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM lP case WM_COMMAND: if (LOWORD(wParam) == IDC_OK) { - char profileName[128]; - GetDlgItemTextA(hwndDlg, IDC_PROFILENAME, profileName, sizeof(profileName)); + TCHAR profileName[128]; + GetDlgItemText(hwndDlg, IDC_PROFILENAME, profileName, sizeof(profileName)); SendMessage(hwndParent, UM_ADDPROFILE, 0, (LPARAM)profileName); // done and exit DestroyWindow(hwndDlg); -- cgit v1.2.3