lint: multiple unary operator

This commit is contained in:
Kurtis Rader
2016-10-23 13:58:12 -07:00
parent 7ea2dc4488
commit f382fa8e8a
13 changed files with 20 additions and 20 deletions

View File

@@ -3284,7 +3284,7 @@ int reader_search_mode() {
if (!data) {
return -1;
}
return !!data->search_mode;
return data->search_mode == NO_SEARCH ? 0 : 1;
}
int reader_has_pager_contents() {