diff options
Diffstat (limited to 'plugins/Watrack_MPD/src/options.cpp')
-rwxr-xr-x | plugins/Watrack_MPD/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Watrack_MPD/src/options.cpp b/plugins/Watrack_MPD/src/options.cpp index 3b59f516f6..5cc11880e4 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 wParam, gbPort = (WORD)GetDlgItemInt(hwndDlg, IDC_PORT, NULL, FALSE); GetDlgItemText(hwndDlg, IDC_SERVER, szText, SIZEOF(szText)); db_set_ts(NULL, szModuleName, "Server", szText); - _tcscpy(gbHost, szText); + mir_tstrcpy(gbHost, szText); GetDlgItemText(hwndDlg, IDC_PASSWORD, szText, SIZEOF(szText)); db_set_ts(NULL, szModuleName, "Password", szText); - _tcscpy(gbPassword, szText); + mir_tstrcpy(gbPassword, szText); return TRUE; } } |