Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpc-hc/AppSettings.cpp')
-rw-r--r--src/mpc-hc/AppSettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mpc-hc/AppSettings.cpp b/src/mpc-hc/AppSettings.cpp
index c60c6a260..088a118e7 100644
--- a/src/mpc-hc/AppSettings.cpp
+++ b/src/mpc-hc/AppSettings.cpp
@@ -964,7 +964,7 @@ void CAppSettings::SaveSettings()
str.Format(_T("CommandMod%d"), i);
CString str2;
str2.Format(_T("%hu %hx %hx \"%S\" %d %hhu %u %hhu"),
- wc.cmd, (WORD)wc.fVirt, wc.key, wc.rmcmd,
+ wc.cmd, (WORD)wc.fVirt, wc.key, wc.rmcmd.GetString(),
wc.rmrepcnt, wc.mouse, wc.appcmd, wc.mouseFS);
pApp->WriteProfileString(IDS_R_COMMANDS, str, str2);
i++;
@@ -1763,7 +1763,7 @@ void CAppSettings::LoadSettings()
m_DVBChannels.emplace_back(strChannel);
} catch (CException* e) {
// The tokenisation can fail if the input string was invalid
- TRACE(_T("Failed to parse a DVB channel from string \"%s\""), strChannel);
+ TRACE(_T("Failed to parse a DVB channel from string \"%s\""), strChannel.GetString());
ASSERT(FALSE);
e->Delete();
}