]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.cpp
there is no trunk/src/intl folder
[lyx.git] / src / support / filetools.cpp
index e460efcf2f45b2d44e58ecc39e93ec7444e9c759..e388bc317bb2de5db48f4514dce756682614f4a6 100644 (file)
@@ -36,7 +36,7 @@
 
 #include <QDir>
 
-#include <boost/assert.hpp>
+#include "support/assert.h"
 #include <boost/regex.hpp>
 
 #include <fcntl.h>
@@ -665,7 +665,7 @@ string const unzippedFileName(string const & zipped_file)
        string const ext = getExtension(zipped_file);
        if (ext == "gz" || ext == "z" || ext == "Z")
                return changeExtension(zipped_file, string());
-       return "unzipped_" + zipped_file;
+       return onlyPath(zipped_file) + "unzipped_" + onlyFilename(zipped_file);
 }