summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/StartupStatus
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-03-25 15:48:10 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-03-25 15:48:10 +0000
commit3411eb3cff54b0cc315058d21c2ebb3f295ea521 (patch)
tree86f117ccd0304d0f4521ec654b40c4b273d48cbb /plugins/StatusPlugins/StartupStatus
parent370b9944a0b8cba9e178c34fbe07998cb34f3251 (diff)
- StartupStatus: unicode fix (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins/StartupStatus')
-rw-r--r--plugins/StatusPlugins/StartupStatus/options.cpp4
1 files 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);