diff --git a/riscos/gui/url_bar.c b/riscos/gui/url_bar.c index 845f8b3e8..62956a9ab 100644 --- a/riscos/gui/url_bar.c +++ b/riscos/gui/url_bar.c @@ -1,6 +1,6 @@ /* * Copyright 2004, 2005 Richard Wilson - * Copyright 2011 Stephen Fryatt + * Copyright 2011-2013 Stephen Fryatt * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -1013,9 +1013,9 @@ static void ro_gui_url_bar_set_hotlist(struct url_bar *url_bar, bool set) { if (url_bar == NULL || set == url_bar->hotlist.set) return; - + url_bar->hotlist.set = set; - + if (!url_bar->hidden) { xwimp_force_redraw(url_bar->window, url_bar->hotlist.extent.x0, @@ -1097,7 +1097,7 @@ bool ro_gui_url_bar_test_for_text_field_keypress(struct url_bar *url_bar, return false; /* Update hotlist indicator */ - + url = (const char *) url_bar->text_buffer; if (url != NULL && nsurl_create(url, &n) == NSERROR_OK) { ro_gui_url_bar_set_hotlist(url_bar, ro_gui_hotlist_has_page(n)); @@ -1278,4 +1278,3 @@ void ro_gui_url_bar_fini(void) hlcache_handle_release(url_bar_res[i].c); } } - diff --git a/riscos/hotlist.c b/riscos/hotlist.c index f47d05e9c..eeaddd00f 100644 --- a/riscos/hotlist.c +++ b/riscos/hotlist.c @@ -1,6 +1,6 @@ /* * Copyright 2004, 2005 Richard Wilson - * Copyright 2010 Stephen Fryatt + * Copyright 2010, 2013 Stephen Fryatt * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -220,7 +220,7 @@ void ro_gui_hotlist_open(void) os_error *error; char command[2048]; - if (nsoption_bool(external_hotlists) && + if (nsoption_bool(external_hotlists) && nsoption_charp(external_hotlist_app) != NULL && *nsoption_charp(external_hotlist_app) != '\0') { snprintf(command, sizeof(command), "Filer_Run %s", @@ -732,4 +732,3 @@ void ro_gui_hotlist_url_drop(wimp_message *message, const char *url) nsurl_unref(nsurl); } #endif - diff --git a/riscos/hotlist.h b/riscos/hotlist.h index 4cb5a1ff3..70cb183c9 100644 --- a/riscos/hotlist.h +++ b/riscos/hotlist.h @@ -1,6 +1,6 @@ /* * Copyright 2006 Richard Wilson - * Copyright 2010 Stephen Fryatt + * Copyright 2010, 2013 Stephen Fryatt * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -51,4 +51,3 @@ void ro_gui_hotlist_remove_page(nsurl *url); bool ro_gui_hotlist_has_page(nsurl *url); #endif - diff --git a/riscos/window.c b/riscos/window.c index 208f50c7b..c314c748b 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -5,7 +5,7 @@ * Copyright 2004 Andrew Timmins * Copyright 2005 Richard Wilson * Copyright 2005 Adrian Lees - * Copyright 2010, 2011 Stephen Fryatt + * Copyright 2010-2014 Stephen Fryatt * * This file is part of NetSurf, http://www.netsurf-browser.org/ *