mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 12:46:00 +01:00
Simplify
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
cbfcd8a1b4
commit
d913eda04a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue