Fixed display bug on deletion error

This commit is contained in:
Yorhel 2009-04-26 14:57:20 +02:00
parent 2a5c9a242f
commit eb3310060f

View file

@ -194,12 +194,14 @@ delete_nxt:
if(r == -1 && !ignoreerr) {
state = DS_FAILED;
lasterrno = errno;
curdir = dr;
while(state == DS_FAILED)
if(input_handle(0))
return 1;
}
freedir(dr);
} else
freedir(dr);
if(r == -1 && root == dr)
return 1;
return 0;
}