summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-05-30 23:33:13 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-05-30 23:33:13 +0100
commitdcf9eca7b3b4f42f40d9610595f9fcaea0370cfc (patch)
treef346921cce294a1af585f9641cf0606c887eae39 /riscos
parent8ee941a7a52d795b601fdded34918cd2eafbda41 (diff)
downloadnetsurf-dcf9eca7b3b4f42f40d9610595f9fcaea0370cfc.tar.gz
netsurf-dcf9eca7b3b4f42f40d9610595f9fcaea0370cfc.tar.bz2
Visits is unsigned, so can't be less than 0.
Diffstat (limited to 'riscos')
-rw-r--r--riscos/url_suggest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/url_suggest.c b/riscos/url_suggest.c
index 32e772cca..71d63c00e 100644
--- a/riscos/url_suggest.c
+++ b/riscos/url_suggest.c
@@ -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;