]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.C
MacOSX compile fix.
[lyx.git] / src / support / path.C
index b3e46221d6d1682b7f59dc90ae5b2330833053b1..71ab4b6b87acdb8cba67f2f120d43e34f25862d7 100644 (file)
@@ -13,8 +13,8 @@
 // Needed to prevent the definition of the unnamed_Path macro in the header file.
 #define PATH_C
 
-#include "path.h"
-#include "lyxlib.h"
+#include "support/path.h"
+#include "support/lyxlib.h"
 
 
 using std::string;
@@ -28,8 +28,10 @@ Path::Path(string const & path)
 {
        if (!path.empty()) {
                pushedDir_ = getcwd();
-               if (pushedDir_.empty() || chdir(path))
-                       /* FIXME: throw */;
+
+               if (pushedDir_.empty() || chdir(path)) {
+                       /* FIXME: throw */
+               }
        } else {
                popped_ = true;
        }