summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-01-04 18:18:14 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-01-04 18:18:14 +0000
commit5fd346615baf56cb8447a23ce8f02cba7f55a2c1 (patch)
tree3ee61b6a54fdcecd2850f653aa0d7164d265386c /plugins/Msg_Export
parent029e03529ac2b4be827a7c4468cd4b01f2cb668f (diff)
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
Diffstat (limited to 'plugins/Msg_Export')
-rwxr-xr-xplugins/Msg_Export/src/FileViewer.cpp7
1 files changed, 2 insertions, 5 deletions
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)));