diff options
Diffstat (limited to 'amiga/stringview')
-rw-r--r-- | amiga/stringview/urlhistory.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/amiga/stringview/urlhistory.c b/amiga/stringview/urlhistory.c index 264895677..2f0f72366 100644 --- a/amiga/stringview/urlhistory.c +++ b/amiga/stringview/urlhistory.c @@ -27,6 +27,7 @@ #include "urlhistory.h" #include "content/urldb.h" +#include "desktop/options.h" struct List PageList; @@ -100,6 +101,8 @@ struct Node * URLHistory_FindPage( const char *urlString ) void URLHistory_AddPage( const char * urlString ) { + if(!option_url_suggestion) return; + // Only search if length > 0 if( strlen( urlString ) > 0 ) { |