diff options
author | Yorhel <git@yorhel.nl> | 2009-06-06 23:22:49 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-06-06 23:26:05 +0200 |
commit | 26c77cfc148c057140807820276844fb6376cb42 (patch) | |
tree | cde75cc282f81dcc1966914ad7e85f020df4e117 | |
parent | e5cc7703d7d926a1765fccd123df2b81f3368640 (diff) |
Return to previously opened directory on failed recalculation
...instead of displaying an empty and unusable browser.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/calc.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ git - ? - Removed reliance of dirfd() - Fixed non-void return in void delete_process() - Fixed several tiny memory leaks + - Return to previously opened directory on failed recalculation 1.5 - 2009-05-02 - Fixed incorrect apparent size on directory refresh @@ -428,7 +428,7 @@ calc_fail: if(orig == NULL) return 1; else { - browse_init(NULL); + browse_init(orig); return 0; } } |