Correctly quote file names when running LaTeX (problem with u umlaut in name)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@558 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-02-16 15:04:15 +00:00
parent 56e007b94e
commit 9397ff934b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-02-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/LaTeX.C (operator()): quote file name when running latex.
2000-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/toolbar.C (set): use fl_set_object_helper for the tooltop

View File

@ -292,7 +292,7 @@ int LaTeX::run(TeXErrors & terr, MiniBuffer * minib)
int LaTeX::operator()()
{
#ifndef __EMX__
string tmp = cmd + ' ' + file + " > /dev/null";
string tmp = cmd + ' ' + QuoteName(file) + " > /dev/null";
#else // cmd.exe (OS/2) causes SYS0003 error at "/dev/null"
string tmp = cmd + ' ' + file + " > nul";
#endif