* src/LaTeX.C (run):

fix typo from r13950

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13954 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2006-05-29 15:51:12 +00:00
parent f9c7473ed3
commit 6fd2366d9c

View File

@ -271,15 +271,15 @@ int LaTeX::run(TeXErrors & terr)
// memoir (at least) writes an empty *idx file in the first place.
// A second latex run is needed.
rerun = fs::exists(ChangeExtension(file, ".idx"))
&& fs::is_empty(ChangeExtension(file, ".idx"));
rerun = fs::exists(changeExtension(file, ".idx"))
&& fs::is_empty(changeExtension(file, ".idx"));
// run makeindex
if (head.haschanged(onlyFilename(changeExtension(file, ".idx")))) {
// no checks for now
lyxerr[Debug::LATEX] << "Running MakeIndex." << endl;
message(_("Running MakeIndex."));
rerun = runMakeIndex(onlyFilename(changeExtension(file, ".idx")), runparams);
rerun |= runMakeIndex(onlyFilename(changeExtension(file, ".idx")), runparams);
}
// run bibtex