mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
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:
parent
e2c8e359c0
commit
ff1ebed78f
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user