Commit d913eda0 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Simplify

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent cbfcd8a1
...@@ -1007,7 +1007,7 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char* ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment