summaryrefslogtreecommitdiff
path: root/plugins/Watrack_MPD/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack_MPD/src/options.cpp')
-rwxr-xr-xplugins/Watrack_MPD/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Watrack_MPD/src/options.cpp b/plugins/Watrack_MPD/src/options.cpp
index 315c2f4100..3178947f61 100755
--- a/plugins/Watrack_MPD/src/options.cpp
+++ b/plugins/Watrack_MPD/src/options.cpp
@@ -52,10 +52,10 @@ static INT_PTR CALLBACK DlgProcWaMpdOpts(HWND hwndDlg, UINT msg, WPARAM, LPARAM
gbPort = (WORD)GetDlgItemInt(hwndDlg, IDC_PORT, NULL, FALSE);
GetDlgItemText(hwndDlg, IDC_SERVER, szText, _countof(szText));
db_set_ts(NULL, szModuleName, "Server", szText);
- mir_tstrcpy(gbHost, szText);
+ mir_wstrcpy(gbHost, szText);
GetDlgItemText(hwndDlg, IDC_PASSWORD, szText, _countof(szText));
db_set_ts(NULL, szModuleName, "Password", szText);
- mir_tstrcpy(gbPassword, szText);
+ mir_wstrcpy(gbPassword, szText);
return TRUE;
}
}