diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-04 18:18:14 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-04 18:18:14 +0000 |
commit | 5fd346615baf56cb8447a23ce8f02cba7f55a2c1 (patch) | |
tree | 3ee61b6a54fdcecd2850f653aa0d7164d265386c | |
parent | 029e03529ac2b4be827a7c4468cd4b01f2cb668f (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
-rwxr-xr-x | plugins/Msg_Export/src/FileViewer.cpp | 7 |
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)));
|