diff options
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/gui.c | 7 | ||||
-rw-r--r-- | riscos/options.h | 2 |
2 files changed, 4 insertions, 5 deletions
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; |