mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:03:48 +01:00
Simplify
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
cbfcd8a1b4
commit
d913eda04a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user