From 5f6c2cbff7cd778b6487943d62e71ff9e7b04893 Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Sat, 26 Jul 2008 22:29:15 +0000 Subject: - Compiler warning squash - Changed a lineending \n\r -> \n for a couple of files. - More code style conformance. svn path=/trunk/netsurf/; revision=4762 --- riscos/configure/con_theme.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'riscos/configure/con_theme.c') diff --git a/riscos/configure/con_theme.c b/riscos/configure/con_theme.c index a74d820c7..003d67616 100644 --- a/riscos/configure/con_theme.c +++ b/riscos/configure/con_theme.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include "oslib/osspriteop.h" #include "oslib/wimp.h" #include "oslib/wimpspriteop.h" #include "utils/config.h" @@ -87,7 +87,8 @@ static bool ro_gui_options_theme_click(wimp_pointer *pointer); static void ro_gui_options_theme_load(void); static void ro_gui_options_theme_free(void); -bool ro_gui_options_theme_initialise(wimp_w w) { +bool ro_gui_options_theme_initialise(wimp_w w) +{ wimp_window_state state; wimp_icon_state icon_state; os_error *error; @@ -167,7 +168,8 @@ bool ro_gui_options_theme_initialise(wimp_w w) { return true; } -void ro_gui_options_theme_finalise(wimp_w w) { +void ro_gui_options_theme_finalise(wimp_w w) +{ os_error *error; ro_gui_options_theme_free(); @@ -184,7 +186,8 @@ void ro_gui_options_theme_finalise(wimp_w w) { ro_gui_wimp_event_finalise(w); } -bool ro_gui_options_theme_ok(wimp_w w) { +bool ro_gui_options_theme_ok(wimp_w w) +{ struct toolbar_display *toolbar; struct theme_descriptor *theme_new = NULL; @@ -211,7 +214,8 @@ bool ro_gui_options_theme_ok(wimp_w w) { return true; } -bool ro_gui_options_theme_click(wimp_pointer *pointer) { +bool ro_gui_options_theme_click(wimp_pointer *pointer) +{ struct theme_descriptor *theme_default; struct toolbar_display *toolbar; @@ -233,7 +237,8 @@ bool ro_gui_options_theme_click(wimp_pointer *pointer) { return false; } -void ro_gui_options_theme_load(void) { +void ro_gui_options_theme_load(void) +{ os_error *error; os_box extent = { 0, 0, 0, 0 }; struct theme_descriptor *descriptor; @@ -385,7 +390,8 @@ void ro_gui_options_theme_load(void) { xwimp_force_redraw(theme_pane, 0, -16384, 16384, 16384); } -void ro_gui_options_theme_free(void) { +void ro_gui_options_theme_free(void) +{ struct toolbar_display *toolbar; struct toolbar_display *next_toolbar; -- cgit v1.2.3