From John McCabe-Dansted:

* src/bufferlist.C (updateIncludedTeXfiles): use addName instead of
	hardcoding '/'.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17083 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-02-07 10:51:48 +00:00
parent e2c8e359c0
commit ff1ebed78f

View File

@ -315,9 +315,7 @@ void BufferList::updateIncludedTeXfiles(string const & mastertmpdir,
BufferStorage::iterator end = bstore.end(); BufferStorage::iterator end = bstore.end();
for (; it != end; ++it) { for (; it != end; ++it) {
if (!(*it)->isDepClean(mastertmpdir)) { if (!(*it)->isDepClean(mastertmpdir)) {
string writefile = mastertmpdir; string writefile = addName(mastertmpdir, (*it)->getLatexName());
writefile += '/';
writefile += (*it)->getLatexName();
(*it)->makeLaTeXFile(FileName(writefile), mastertmpdir, (*it)->makeLaTeXFile(FileName(writefile), mastertmpdir,
runparams, false); runparams, false);
(*it)->markDepClean(mastertmpdir); (*it)->markDepClean(mastertmpdir);