summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2005-07-23 20:45:00 +0000
committerJames Bursa <james@netsurf-browser.org>2005-07-23 20:45:00 +0000
commit97d5fa20f28cda6d86511dd9e20be7d871eaf54f (patch)
treec39823bec963d191d3375e9ba88cbedd8030ad66 /riscos
parent253c199d1f52c2e86b2c02fad75937aa5e076fd8 (diff)
downloadnetsurf-97d5fa20f28cda6d86511dd9e20be7d871eaf54f.tar.gz
netsurf-97d5fa20f28cda6d86511dd9e20be7d871eaf54f.tar.bz2
[project @ 2005-07-23 20:45:00 by bursa]
Fix bug in ro_gui_theme_add_toolbar_icons(). svn path=/import/netsurf/; revision=1815
Diffstat (limited to 'riscos')
-rw-r--r--riscos/theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/theme.c b/riscos/theme.c
index aab6785d5..f71d6f3c1 100644
--- a/riscos/theme.c
+++ b/riscos/theme.c
@@ -2212,7 +2212,7 @@ void ro_gui_theme_add_toolbar_icons(struct toolbar *toolbar,
} else {
hex_no[0] = ident[index];
hex_no[1] = '\0';
- number = (int)strtol(&hex_no, (char **)NULL, 16);
+ number = strtol(hex_no, NULL, 16);
for (icon = toolbar->icon; icon; icon = icon->next)
if (icon->icon_number == number) {
ro_gui_theme_delink_toolbar_icon(