summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorSteve Fryatt <stevef@netsurf-browser.org>2014-01-02 22:25:23 +0000
committerSteve Fryatt <stevef@netsurf-browser.org>2014-01-02 22:25:23 +0000
commitbf8c88dbec9d66dadaa584d80702c1653fda1c08 (patch)
treee953028ed44a3c82f34f63f56800fdc7dda0a5e1 /riscos
parent286ee3834c7a20d3963b9cf288a6d091d3fb50f2 (diff)
downloadnetsurf-bf8c88dbec9d66dadaa584d80702c1653fda1c08.tar.gz
netsurf-bf8c88dbec9d66dadaa584d80702c1653fda1c08.tar.bz2
Update copyright header dates for recent commits.
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui/url_bar.c9
-rw-r--r--riscos/hotlist.c5
-rw-r--r--riscos/hotlist.h3
-rw-r--r--riscos/window.c2
4 files changed, 8 insertions, 11 deletions
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 <info@tinct.net>
- * Copyright 2011 Stephen Fryatt <stevef@netsurf-browser.org>
+ * Copyright 2011-2013 Stephen Fryatt <stevef@netsurf-browser.org>
*
* 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 <info@tinct.net>
- * Copyright 2010 Stephen Fryatt <stevef@netsurf-browser.org>
+ * Copyright 2010, 2013 Stephen Fryatt <stevef@netsurf-browser.org>
*
* 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 <info@tinct.net>
- * Copyright 2010 Stephen Fryatt <stevef@netsurf-browser.org>
+ * Copyright 2010, 2013 Stephen Fryatt <stevef@netsurf-browser.org>
*
* 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 <atimmins@blueyonder.co.uk>
* Copyright 2005 Richard Wilson <info@tinct.net>
* Copyright 2005 Adrian Lees <adrianl@users.sourceforge.net>
- * Copyright 2010, 2011 Stephen Fryatt <stevef@netsurf-browser.org>
+ * Copyright 2010-2014 Stephen Fryatt <stevef@netsurf-browser.org>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*