mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Return to previously opened directory on failed recalculation
...instead of displaying an empty and unusable browser.
This commit is contained in:
parent
e5cc7703d7
commit
26c77cfc14
2 changed files with 2 additions and 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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue