From b95733310900e86679fce5cbc37e2e18d299f9ca Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 7 Nov 2004 20:33:32 +0000 Subject: [project @ 2004-11-07 20:33:32 by jmb] Use scandeps for dependency checking Fixup include path in riscos/options.h Lose commented out include in riscos/gui.c (It broke scandeps <- we may wish to fix this too ;) svn path=/import/nstheme/; revision=2437 --- riscos/gui.c | 7 +++---- riscos/options.h | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'riscos') diff --git a/riscos/gui.c b/riscos/gui.c index be5dae3..84adde0 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -35,7 +35,6 @@ #include "nstheme/riscos/gui.h" #include "nstheme/riscos/help.h" #include "nstheme/riscos/options.h" -//#include "nstheme/riscos/theme.h" #include "nstheme/riscos/wimp.h" #include "nstheme/utils/log.h" #include "nstheme/utils/messages.h" @@ -408,7 +407,7 @@ void ro_gui_icon_bar_click(wimp_pointer *pointer) } else if (pointer->buttons == wimp_CLICK_SELECT) { ro_gui_dialog_prepare_main(); ro_gui_open_window_centre(NULL, dialog_main); - ro_gui_set_caret_first(dialog_main); + ro_gui_set_caret_first(dialog_main); } } @@ -509,13 +508,13 @@ void ro_msg_dataload(wimp_message *message) { free(sprite_filename); sprite_filename = NULL; } - } + } } else { success = ro_gui_load_theme(filename); if (success) { ro_gui_dialog_prepare_main(); ro_gui_open_window_centre(NULL, dialog_main); - ro_gui_set_caret_first(dialog_main); + ro_gui_set_caret_first(dialog_main); } } diff --git a/riscos/options.h b/riscos/options.h index b003da1..8aa5b58 100644 --- a/riscos/options.h +++ b/riscos/options.h @@ -12,7 +12,7 @@ #ifndef _NETSURF_RISCOS_OPTIONS_H_ #define _NETSURF_RISCOS_OPTIONS_H_ -#include "netsurf/desktop/options.h" +#include "nstheme/desktop/options.h" extern char *option_language; -- cgit v1.2.3