From 1ae4eda5b245803559a4fd9e375714fb0cf44ee2 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 7 Sep 2014 19:12:41 +0200 Subject: [PATCH] Print a warning if loading plugins failed. --- zathura.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zathura.c b/zathura.c index dae34c4..7821c45 100644 --- a/zathura.c +++ b/zathura.c @@ -824,7 +824,9 @@ document_open(zathura_t* zathura, const char* path, const char* password, /* bookmarks */ - zathura_bookmarks_load(zathura, file_path); + if (zathura_bookmarks_load(zathura, file_path) == false) { + girara_warning("Failed to loads bookmarks."); + } /* jumplist */ if (zathura_jumplist_load(zathura, file_path) == false) {