]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
Add margin to paragraph dialog.
[lyx.git] / src / buffer.C
index 29383c44c5eeecf05ae9a2461f08c18c9b64a61c..345325a8690ed139ff531761f9963cdb45bd4eb9 100644 (file)
@@ -1138,11 +1138,11 @@ 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(FileName(path)); // path to LaTeX file
+       support::Path p(path); // path to LaTeX file
        message(_("Running chktex..."));
 
        // Generate the LaTeX file if neccessary