diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2006-03-10 11:28:16 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2006-03-10 11:28:16 +0000 |
commit | 63a70da244cdc9ce051cfbb38bf0443f2bd86121 (patch) | |
tree | 6065f4d7e4593d39b699cc639eb74c6fd242ec37 /riscos | |
parent | 7e02b0089c4c454c01eb2e4721718a76a49ef1ca (diff) | |
download | netsurf-63a70da244cdc9ce051cfbb38bf0443f2bd86121.tar.gz netsurf-63a70da244cdc9ce051cfbb38bf0443f2bd86121.tar.bz2 |
[project @ 2006-03-10 11:28:16 by jmb]
Add missing "struct"
svn path=/import/netsurf/; revision=2126
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/window.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |