Quote path to reLyX correctly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10068 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-06-15 12:00:18 +00:00
parent 590baffa39
commit 232e91cff7

View File

@ -289,7 +289,7 @@ void __declspec(dllexport) create_bat_files(HWND hwndParent, int string_size, ch
std::string const relyx_file = bin_dir + "\\reLyX";
relyx_bat << "@echo off\r\n"
<< "perl.exe " << relyx_file << " %~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9\r\n";
<< "perl.exe \"" << relyx_file << "\" %~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9\r\n";
if (!relyx_bat) {
pushstring("-1");