]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_cygwin.cpp
Don't disable apply button if one (or more) of vertical alignment, rotation,
[lyx.git] / src / support / os_cygwin.cpp
index 8470812d7885925d35764a971ad447430d0ddca0..ad97c38bc2a1fd38cb15c860c46b119b6be30111 100644 (file)
@@ -375,12 +375,6 @@ string const & nulldev()
 }
 
 
-bool is_terminal(io_channel channel)
-{
-       return isatty(channel);
-}
-
-
 shell_type shell()
 {
        return UNIX;
@@ -429,7 +423,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