From 9af422099297fe058809f00d389f91a8e71ca1c8 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Wed, 25 Jan 2006 13:38:55 +0000 Subject: [project @ 2006-01-25 13:38:55 by rjw] Correctly display toolbar separator when editing toolbars. svn path=/import/netsurf/; revision=2042 --- riscos/theme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'riscos') 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) { -- cgit v1.2.3