summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-08 14:21:47 +0200
committerGeorge Hazan <ghazan@miranda.im>2019-01-08 14:21:47 +0200
commit755fdc3506db0341907c296bf91f99d5c986d2ad (patch)
tree892279901cc5513611813aa295e72aed5f833475 /plugins
parent9e6f21ee32babf1ab581c7742c26ba34f3ece5e2 (diff)
crash fix
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/Msg_Export/src/FileViewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Msg_Export/src/FileViewer.cpp b/plugins/Msg_Export/src/FileViewer.cpp
index c59068655c..0ec823f2e6 100755
--- a/plugins/Msg_Export/src/FileViewer.cpp
+++ b/plugins/Msg_Export/src/FileViewer.cpp
@@ -473,7 +473,7 @@ bool bLoadFile(HWND hwndDlg, CLHistoryDlg *pclDlg)
if (hFile == INVALID_HANDLE_VALUE) {
wchar_t szTmp[1500];
CMStringW wszMsg(FORMAT, TranslateT("Miranda database contains %d events"), db_event_count(pclDlg->hContact));
- mir_snwprintf(szTmp, L"%s\r\n%s\r\n\r\n%s", pclDlg->sPath.c_str(), wszMsg.c_str());
+ mir_snwprintf(szTmp, L"%s\r\n%s\r\n\r\n%s", TranslateT("Failed to open file"), pclDlg->sPath.c_str(), wszMsg.c_str());
SETTEXTEX stText = { 0 };
stText.codepage = 1200;