From 63a70da244cdc9ce051cfbb38bf0443f2bd86121 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 10 Mar 2006 11:28:16 +0000 Subject: [project @ 2006-03-10 11:28:16 by jmb] Add missing "struct" svn path=/import/netsurf/; revision=2126 --- riscos/window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'riscos') diff --git a/riscos/window.c b/riscos/window.c index e80ef26fc..ca7c8840a 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -826,7 +826,7 @@ void gui_window_scroll_visible(struct gui_window *g, int x0, int y0, int x1, int if (g->toolbar) toolbar_height = ro_gui_theme_toolbar_full_height(g->toolbar); - + x0 = x0 * 2 * g->option.scale; y0 = y0 * 2 * g->option.scale; x1 = x1 * 2 * g->option.scale; @@ -836,7 +836,7 @@ void gui_window_scroll_visible(struct gui_window *g, int x0, int y0, int x1, int cy0 = -state.yscroll + toolbar_height; width = state.visible.x1 - state.visible.x0; height = state.visible.y1 - state.visible.y0 - toolbar_height; - + /* make sure we're visible */ correction = (x1 - cx0 - width); if (correction > 0) @@ -2561,7 +2561,7 @@ void gui_window_set_pointer(struct gui_window *g, gui_pointer_shape shape) * Remove the mouse pointer from the screen */ -void gui_window_hide_pointer(gui_window *g) +void gui_window_hide_pointer(struct gui_window *g) { os_error *error; @@ -2582,7 +2582,7 @@ void gui_window_hide_pointer(gui_window *g) void gui_window_new_content(struct gui_window *g) { - ro_gui_menu_objects_moved(); + ro_gui_menu_objects_moved(); ro_gui_prepare_navigate(g); ro_gui_dialog_close_persistent(g->window); } -- cgit v1.2.3