summaryrefslogtreecommitdiff
path: root/riscos/theme.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2006-01-25 13:38:55 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2006-01-25 13:38:55 +0000
commit9af422099297fe058809f00d389f91a8e71ca1c8 (patch)
tree0f2313164173dc3663ff484b2fa0c52599e17a70 /riscos/theme.c
parent45b78bc199cac5e5f32be205191242e364c82be3 (diff)
downloadnetsurf-9af422099297fe058809f00d389f91a8e71ca1c8.tar.gz
netsurf-9af422099297fe058809f00d389f91a8e71ca1c8.tar.bz2
[project @ 2006-01-25 13:38:55 by rjw]
Correctly display toolbar separator when editing toolbars. svn path=/import/netsurf/; revision=2042
Diffstat (limited to 'riscos/theme.c')
-rw-r--r--riscos/theme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/theme.c b/riscos/theme.c
index 978581768..fb980a8e4 100644
--- a/riscos/theme.c
+++ b/riscos/theme.c
@@ -268,7 +268,6 @@ bool ro_gui_theme_add_descriptor(const char *folder, const char *leafname) {
return false;
}
sprintf(filename, "%s.%s", folder, leafname);
- LOG(("Filename: %s", filename));
/* get the header */
error = xosfind_openinw(osfind_NO_PATH, filename, 0,
@@ -636,6 +635,8 @@ void ro_gui_theme_redraw(wimp_draw *redraw) {
perform_redraw = true;
}
perform_redraw &= toolbar->display_buttons || toolbar->editor;
+ if ((toolbar->editor) && (toolbar->editor->toolbar_handle == redraw->w))
+ toolbar = toolbar->editor;
error = xwimp_redraw_window(redraw, &more);
if (error) {