Skip to content
Snippets Groups Projects
Commit 3d8751b4 authored by Sebastian Kayser's avatar Sebastian Kayser Committed by Yorhel
Browse files

Fixed non-void return in void delete_process()

Fixes bug #2789781.
parent a0bf6dee
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ git - ? ...@@ -2,6 +2,7 @@ git - ?
- Implemented hard link detection - Implemented hard link detection
- Properly select the next item after deletion - Properly select the next item after deletion
- Removed reliance of dirfd() - Removed reliance of dirfd()
- Fixed non-void return in void delete_process()
1.5 - 2009-05-02 1.5 - 2009-05-02
- Fixed incorrect apparent size on directory refresh - Fixed incorrect apparent size on directory refresh
......
...@@ -213,8 +213,10 @@ void delete_process() { ...@@ -213,8 +213,10 @@ void delete_process() {
/* confirm */ /* confirm */
seloption = 1; seloption = 1;
while(state == DS_CONFIRM && !noconfirm) while(state == DS_CONFIRM && !noconfirm)
if(input_handle(0)) if(input_handle(0)) {
return browse_init(root); browse_init(root);
return;
}
/* temporarily re-add hard links, so we won't lose sizes in case we delete /* temporarily re-add hard links, so we won't lose sizes in case we delete
a file of which another file outside this directory was marked as duplicate */ a file of which another file outside this directory was marked as duplicate */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment