]> git.lyx.org Git - features.git/commitdiff
From John McCabe-Dansted:
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 7 Feb 2007 10:51:48 +0000 (10:51 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 7 Feb 2007 10:51:48 +0000 (10:51 +0000)
* 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

src/bufferlist.C

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