]> git.lyx.org Git - features.git/blobdiff - src/bufferlist.C
LyX Drinkers United: patch 2
[features.git] / src / bufferlist.C
index 36ba4b357d0e91f3eb467519b67cfc3f16aa39b9..a7ce2a92704ba6afda4051f3d6b9bc0fca1bd75b 100644 (file)
@@ -443,7 +443,7 @@ Buffer * BufferList::newFile(string const & name, string tname, bool isNamed)
        if (tname.empty()) {
                tname = LibFileSearch("templates", "defaults.lyx");
        }
-       if (!tname.empty() && IsLyXFilename(tname)) {
+       if (!tname.empty()) {
                bool templateok = false;
                LyXLex lex(0, 0);
                lex.setFile(tname);