mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 07:46:00 +01:00
Update file_valid_extension argument check
This commit is contained in:
parent
122ea70e16
commit
234ea6d323
1 changed files with 1 additions and 1 deletions
2
utils.c
2
utils.c
|
@ -51,7 +51,7 @@ file_get_extension(const char* path)
|
||||||
bool
|
bool
|
||||||
file_valid_extension(zathura_t* zathura, const char* path)
|
file_valid_extension(zathura_t* zathura, const char* path)
|
||||||
{
|
{
|
||||||
if (zathura == NULL || zathura->plugins.manager == NULL || path == NULL) {
|
if (zathura == NULL || path == NULL || zathura->plugins.manager == NULL) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue