mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
Visits is unsigned, so can't be less than 0.
This commit is contained in:
parent
8ee941a7a5
commit
dcf9eca7b3
@ -160,7 +160,7 @@ bool ro_gui_url_suggest_callback(nsurl *url, const struct url_data *data)
|
||||
|
||||
/* Ignore unvisited URLs, and those that don't apply to HTML or Text. */
|
||||
|
||||
if (data->visits <= 0 || (data->type != CONTENT_HTML &&
|
||||
if (data->visits == 0 || (data->type != CONTENT_HTML &&
|
||||
data->type != CONTENT_TEXTPLAIN))
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user