]> git.lyx.org Git - lyx.git/blobdiff - src/support/chdir.C
Fix small typos
[lyx.git] / src / support / chdir.C
index 0ce2df4942a7dea0dc02923bcdbf8cd7d9c6b077..f80e989036bde85aa0747653ca8110b4ad9b8959 100644 (file)
@@ -12,3 +12,12 @@ int lyx::chdir(char const * name)
        return ::_chdir2(name);
 #endif
 }
+
+int lyx::chdir(string const & name)
+{
+#ifndef __EMX__
+       return ::chdir(name.c_str());
+#else
+       return ::_chdir2(name.c_str());
+#endif
+}