diff --git a/ChangeLog b/ChangeLog index 74d730c722..e4f4f80a7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-02-16 Jean-Marc Lasgouttes + + * src/LaTeX.C (operator()): quote file name when running latex. + 2000-02-15 Lars Gullik Bjønnes * src/toolbar.C (set): use fl_set_object_helper for the tooltop diff --git a/src/LaTeX.C b/src/LaTeX.C index 73bf70c380..380c14a9fd 100644 --- a/src/LaTeX.C +++ b/src/LaTeX.C @@ -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