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