]> git.lyx.org Git - lyx.git/blobdiff - src/buffer_funcs.C
Delay bibfileCache first update up until it is used.
[lyx.git] / src / buffer_funcs.C
index a756f0c25392dae9beb210e84975565a099e0322..8ed3e855a58923d276a9e7257736b3144b92e10c 100644 (file)
@@ -191,7 +191,7 @@ Buffer * newFile(string const & filename, string const & templatename,
        if (templatename.empty())
                tname = libFileSearch("templates", "defaults.lyx");
        else
-               tname = FileName(makeAbsPath(templatename));
+               tname = makeAbsPath(templatename);
 
        if (!tname.empty()) {
                if (!b->readFile(tname)) {