From fd44f28caeeab9a93ca5798415d01d308a082f61 Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Tue, 5 Dec 2006 22:36:31 +0000 Subject: [PATCH] * convert dir to internal path git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16187 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/getcwd.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/support/getcwd.C b/src/support/getcwd.C index 40b61a6a26..c1aaa6eac7 100644 --- a/src/support/getcwd.C +++ b/src/support/getcwd.C @@ -11,6 +11,7 @@ #include #include "support/lyxlib.h" +#include "support/os.h" #include @@ -27,6 +28,7 @@ namespace lyx { #endif using boost::scoped_array; +using support::os::internal_path; using std::string; @@ -64,7 +66,7 @@ string const lyx::support::getcwd() string result; if (err) result = tbuf.get(); - return result; + return internal_path(result); }