From 5fd346615baf56cb8447a23ce8f02cba7f55a2c1 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 4 Jan 2013 18:18:14 +0000 Subject: Try to fix unicode search again (fixes #65) added escaping of file names (by $ergi0) git-svn-id: http://svn.miranda-ng.org/main/trunk@2966 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Msg_Export/src/FileViewer.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/Msg_Export/src/FileViewer.cpp') diff --git a/plugins/Msg_Export/src/FileViewer.cpp b/plugins/Msg_Export/src/FileViewer.cpp index 8088f7e0bc..d4e76339d4 100755 --- a/plugins/Msg_Export/src/FileViewer.cpp +++ b/plugins/Msg_Export/src/FileViewer.cpp @@ -532,9 +532,9 @@ bool bOpenExternaly( HANDLE hContact ) return true; } tstring sTmp = sFileViewerPrg; - sTmp += _T(" "); + sTmp += _T(" \""); sTmp += sPath; - //sTmp += '\"'; + sTmp += '\"'; STARTUPINFO sStartupInfo = { 0 }; GetStartupInfo(&sStartupInfo); // we parse oure owne info on @@ -1071,9 +1071,6 @@ static INT_PTR CALLBACK DlgProcFileViewer(HWND hwndDlg, UINT msg, WPARAM wParam, { SetWindowLongPtr(hwndDlg,GWLP_USERDATA,lParam); CLHistoryDlg * pclDlg = (CLHistoryDlg *)lParam; -#ifdef _UNICODE - EnableWindow( GetDlgItem( hwndDlg , IDC_FV_FIND ) , FALSE ); -#endif SendMessage(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)LoadIcon( hInstance, MAKEINTRESOURCE(IDI_EXPORT_MESSAGE))); -- cgit v1.2.3