Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2016-06-24 19:46:09 +02:00
parent cbfcd8a1b4
commit d913eda04a

View File

@ -1007,7 +1007,7 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
} }
/* read first_page_column list */ /* 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; first_page_column_list = file_info.first_page_column_list;
file_info.first_page_column_list = NULL; file_info.first_page_column_list = NULL;
} else { } else {