mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-13 07:23:45 +01:00
Added error message
This commit is contained in:
parent
824b56a032
commit
b687cce13c
@ -1008,6 +1008,7 @@ open_file(char* path, char* password)
|
|||||||
char* file = (char*) calloc(sizeof(char), pm);
|
char* file = (char*) calloc(sizeof(char), pm);
|
||||||
if(!file || !realpath(path, file))
|
if(!file || !realpath(path, file))
|
||||||
{
|
{
|
||||||
|
notify(ERROR, "File does not exist");
|
||||||
if(file)
|
if(file)
|
||||||
free(file);
|
free(file);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user