mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-07 15:45:59 +01:00
Added error message
This commit is contained in:
parent
50fda82a0d
commit
fb2d8cc830
1 changed files with 1 additions and 0 deletions
|
@ -1008,6 +1008,7 @@ open_file(char* path, char* password)
|
|||
char* file = (char*) calloc(sizeof(char), pm);
|
||||
if(!file || !realpath(path, file))
|
||||
{
|
||||
notify(ERROR, "File does not exist");
|
||||
if(file)
|
||||
free(file);
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue