Skip to content

Commit 1f2ab90

Browse files
committed
Fix condition (fixes #701)
1 parent 278b2a4 commit 1f2ab90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zathura/zathura.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ bool document_predecessor_free(zathura_t* zathura) {
14131413
}
14141414

14151415
bool document_close(zathura_t* zathura, bool keep_monitor) {
1416-
if (zathura_has_document(zathura)) {
1416+
if (zathura_has_document(zathura) == false) {
14171417
return false;
14181418
}
14191419

0 commit comments

Comments
 (0)