From dcf9eca7b3b4f42f40d9610595f9fcaea0370cfc Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 30 May 2014 23:33:13 +0100 Subject: Visits is unsigned, so can't be less than 0. --- riscos/url_suggest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos/url_suggest.c') 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; -- cgit v1.2.3