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/SubtitlesProviders.cpp')
-rw-r--r--src/mpc-hc/SubtitlesProviders.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpc-hc/SubtitlesProviders.cpp b/src/mpc-hc/SubtitlesProviders.cpp
index 387c57325..94d619e27 100644
--- a/src/mpc-hc/SubtitlesProviders.cpp
+++ b/src/mpc-hc/SubtitlesProviders.cpp
@@ -596,7 +596,7 @@ void SubtitlesProviders::Upload(bool bShowConfirm)
if (!pSubtitlesInfo.fileContents.empty()) {
CString msg;
- msg.Format(IDS_SUBUL_DLG_CONFIRM, UTF8To16(pSubtitlesInfo.fileName.c_str()));
+ msg.Format(IDS_SUBUL_DLG_CONFIRM, UTF8To16(pSubtitlesInfo.fileName.c_str()).GetString());
if (!bShowConfirm
|| IDYES == MessageBox(m_pMainFrame->m_wndSubtitlesUploadDialog, msg, ResStr(IDS_SUBUL_DLG_TITLE), MB_YESNO)) {
InsertTask(DEBUG_NEW SubtitlesTask(m_pMainFrame, pSubtitlesInfo));