]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.C
Fix small typos
[lyx.git] / src / support / path.C
index 7752dccb11fda76377264ba3802057b9f45f9310..fba75b46be4f437a3617eab56e125c48f923c22c 100644 (file)
@@ -17,7 +17,7 @@ int Path::pop()
                //           pushedDir_);
                return 0;
        }
-       if (lyx::chdir(pushedDir_.c_str())) {
+       if (lyx::chdir(pushedDir_)) {
                // should throw an exception
                // throw DirChangeError();
                // The use of WriteFSAlert makes this impossible