mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-08 14:35: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);
|
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 a new issue