diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-08 14:21:47 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-08 14:21:47 +0200 |
commit | 755fdc3506db0341907c296bf91f99d5c986d2ad (patch) | |
tree | 892279901cc5513611813aa295e72aed5f833475 /plugins | |
parent | 9e6f21ee32babf1ab581c7742c26ba34f3ece5e2 (diff) |
crash fix
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/Msg_Export/src/FileViewer.cpp | 2 |
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;
|