From 755fdc3506db0341907c296bf91f99d5c986d2ad Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 8 Jan 2019 14:21:47 +0200 Subject: crash fix --- plugins/Msg_Export/src/FileViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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; -- cgit v1.2.3