pwmt / zathura

Document viewer
https://pwmt.org/projects/zathura
zlib License
2.05k stars 141 forks source link

Fixed a small logical mistake in zathura/utils.c - [merged] #550

Closed sebastinas closed 5 months ago

sebastinas commented 9 months ago

On GitLab by @carlo3000_pwmt on Dec 15, 2023, 11:24


Merges develop -> develop

The function file_valid_extension should return True if plugin is different then NULL (i.e. there exists a plugin to handle the file extension, which is therefore valid), not if it is equal.

sebastinas commented 9 months ago

mentioned in commit fbbfbbd48e294ed8ad83d1c22df7a0a209165e51