fix conditional for early failure in cancel_done()
This commit is contained in:
parent
9eba3d8cd9
commit
958af473a0
|
@ -497,11 +497,12 @@ cancel_done( void *aux )
|
|||
|
||||
svars->state[t] |= ST_CANCELED;
|
||||
if (svars->state[1-t] & ST_CANCELED) {
|
||||
if (svars->lfd) {
|
||||
if (svars->lfd >= 0) {
|
||||
Fclose( svars->nfp, 0 );
|
||||
Fclose( svars->jfp, 0 );
|
||||
sync_bail( svars );
|
||||
} else {
|
||||
/* Early failure during box selection. */
|
||||
sync_bail2( svars );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user