From fb2d8cc83035d7dc187d0b65041edf4c6907e92a Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Wed, 16 Jun 2010 22:52:28 +0200 Subject: [PATCH] Added error message --- zathura.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zathura.c b/zathura.c index 9cef085..0e52df1 100644 --- a/zathura.c +++ b/zathura.c @@ -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;