]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
Restore the version number position on the splash screen
[lyx.git] / src / buffer.C
index 8db2d6f02deefa360017bfd1626219cc9679d3e9..345325a8690ed139ff531761f9963cdb45bd4eb9 100644 (file)
@@ -1138,8 +1138,8 @@ int Buffer::runChktex()
        busy(true);
 
        // get LaTeX-Filename
-       string const path = temppath();
-        string const name = addName(path, getLatexName());
+       FileName const path(temppath());
+       string const name = addName(path.absFilename(), getLatexName());
        string const org_path = filePath();
 
        support::Path p(path); // path to LaTeX file