]> git.lyx.org Git - lyx.git/commitdiff
Fix my breakage. Sorry guys.
authorAngus Leeming <leeming@lyx.org>
Sat, 22 Jan 2005 13:41:47 +0000 (13:41 +0000)
committerAngus Leeming <leeming@lyx.org>
Sat, 22 Jan 2005 13:41:47 +0000 (13:41 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9524 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/ChangeLog
src/support/path.C

index 458676285b697ba0bfc48fb265d82cce34291a52..6e7e56bc99b7f5df79d7864a8e7702805aa8f193 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-22  Angus Leeming   <leeming@lyx.org>
+
+       * path.C (Path): revert the patch since the if statement has side
+       effects that are needed for the code to work :-(
+
 2005-01-21  Angus Leeming   <leeming@lyx.org>
 
        * os_cygwin.C, os_win32.C: strip the Cygwin-specific stuff out of
index 3290274686653992a08a34f86ba06f36c5ea92ae..b7db0a299af77e212bb6d395b74ae8a0495d6cab 100644 (file)
@@ -28,10 +28,9 @@ Path::Path(string const & path)
 {
        if (!path.empty()) {
                pushedDir_ = getcwd();
-#if 0
+
                if (pushedDir_.empty() || chdir(path))
                        /* FIXME: throw */;
-#endif
        } else {
                popped_ = true;
        }