1
1

Fixed non-void return in void delete_process()

Fixes bug #2789781.
Этот коммит содержится в:
Sebastian Kayser 2009-05-16 10:34:17 +02:00 коммит произвёл Yorhel
родитель a0bf6deebb
Коммит 3d8751b495
2 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -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() {
/* 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 */