Fix my breakage. Sorry guys.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9524 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-01-22 13:41:47 +00:00
parent 13f6449769
commit 2b2c27a700
2 changed files with 6 additions and 2 deletions

View 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> 2005-01-21 Angus Leeming <leeming@lyx.org>
* os_cygwin.C, os_win32.C: strip the Cygwin-specific stuff out of * os_cygwin.C, os_win32.C: strip the Cygwin-specific stuff out of

View File

@ -28,10 +28,9 @@ Path::Path(string const & path)
{ {
if (!path.empty()) { if (!path.empty()) {
pushedDir_ = getcwd(); pushedDir_ = getcwd();
#if 0
if (pushedDir_.empty() || chdir(path)) if (pushedDir_.empty() || chdir(path))
/* FIXME: throw */; /* FIXME: throw */;
#endif
} else { } else {
popped_ = true; popped_ = true;
} }