From d913eda04aff86beeda1466adea2c22d44f6487c Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Fri, 24 Jun 2016 19:46:09 +0200 Subject: [PATCH] Simplify Signed-off-by: Sebastian Ramacher --- zathura/zathura.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zathura/zathura.c b/zathura/zathura.c index 2f2f2d7..1cb8f8d 100644 --- a/zathura/zathura.c +++ b/zathura/zathura.c @@ -1007,7 +1007,7 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char* } /* read first_page_column list */ - if (file_info.first_page_column_list != NULL && strcmp(file_info.first_page_column_list, "")) { + if (file_info.first_page_column_list != NULL && *file_info.first_page_column_list != '\0') { first_page_column_list = file_info.first_page_column_list; file_info.first_page_column_list = NULL; } else {