From 118d282ce71912a800981d3d9dbe5c1314e4f0b0 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Thu, 19 Oct 2006 23:18:36 +0000 Subject: Remove duplicate data setting. Fix documentation typo. svn path=/trunk/netsurf/; revision=3011 --- riscos/gui/status_bar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'riscos') diff --git a/riscos/gui/status_bar.c b/riscos/gui/status_bar.c index d00df9964..132958a4d 100644 --- a/riscos/gui/status_bar.c +++ b/riscos/gui/status_bar.c @@ -130,7 +130,6 @@ struct status_bar *ro_gui_status_bar_create(wimp_w parent, unsigned int width) { ro_gui_status_bar_click); ro_gui_wimp_event_register_redraw_window(sb->w, ro_gui_status_bar_redraw); - ro_gui_wimp_event_set_user_data(sb->w, sb); ro_gui_wimp_event_set_help_prefix(sb->w, "HelpStatus"); ro_gui_status_bar_resize(sb); return sb; @@ -189,7 +188,7 @@ unsigned int ro_gui_status_bar_get_width(struct status_bar *sb) { /** - * Get the visibility status of the status bar + * Set the visibility status of the status bar * * \param sb the status bar to check the visiblity of * \return whether the status bar is visible -- cgit v1.2.3