]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.C
another safety belt
[lyx.git] / src / support / path.C
index b30bc244f3aa886602a65390b0767358b000ac6b..37a44ae31af8ac59a44c56bc00462b0170cec380 100644 (file)
@@ -1,9 +1,11 @@
 /**
  * \file path.C
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author unknown
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
@@ -21,12 +23,12 @@ int Path::pop()
                // throw logical_error();
                return 0;
        }
+
        if (lyx::chdir(pushedDir_)) {
                // should throw an exception
                // throw DirChangeError();
        }
        popped_ = true;
+
        return 0;
 }