]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_cygwin.cpp
TR1: check in cmake for GCC version, fallback in checktr1.h for other build systems...
[lyx.git] / src / support / os_cygwin.cpp
index 8470812d7885925d35764a971ad447430d0ddca0..31416c0f711190a8cc18c50d91a2b478035aee95 100644 (file)
@@ -429,7 +429,7 @@ string real_path(string const & path)
 {
        char rpath[PATH_MAX + 1];
        char * result = realpath(path.c_str(), rpath);
-       return FileName::fromFilesystemEncoding(result ? rpath : path).absFilename();
+       return FileName::fromFilesystemEncoding(result ? rpath : path).absFileName();
 }
 
 } // namespace os