]> git.lyx.org Git - features.git/commitdiff
Minor os_cygwin.C change, from Enrico
authorBo Peng <bpeng@lyx.org>
Fri, 8 Sep 2006 15:07:22 +0000 (15:07 +0000)
committerBo Peng <bpeng@lyx.org>
Fri, 8 Sep 2006 15:07:22 +0000 (15:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14945 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/os_cygwin.C

index ec6485a0ae003c840e1a5488f02747f952cd8fad..fafbaccf5cbe86fd1e5b56f4a41d884190c8b59a 100644 (file)
@@ -204,7 +204,11 @@ string internal_path(string const & p)
 
 string external_path_list(string const & p)
 {
+#ifdef X_DISPLAY_MISSING
        return convert_path_list(p, PathStyle(windows));
+#else
+       return convert_path_list(p, PathStyle(posix));
+#endif
 }