diff options
Diffstat (limited to 'frontends/riscos')
-rw-r--r-- | frontends/riscos/configure/con_image.c | 3 | ||||
-rw-r--r-- | frontends/riscos/save.c | 2 | ||||
-rw-r--r-- | frontends/riscos/textarea.c | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/frontends/riscos/configure/con_image.c b/frontends/riscos/configure/con_image.c index 86e6b8f6f..d81dc5c3b 100644 --- a/frontends/riscos/configure/con_image.c +++ b/frontends/riscos/configure/con_image.c @@ -23,6 +23,7 @@ #include "utils/nsoption.h" #include "utils/log.h" +#include "utils/utils.h" #include "riscos/gui.h" #include "riscos/configure/configure.h" @@ -209,7 +210,7 @@ bool ro_gui_options_image_click(wimp_pointer *pointer) data.indirected_text.text, true); ro_gui_set_icon_selected_state(pointer->w, IMAGE_DISABLE_ANIMATION, false); - /* fall through */ + fallthrough; case IMAGE_DISABLE_ANIMATION: ro_gui_options_update_shading(pointer->w); break; diff --git a/frontends/riscos/save.c b/frontends/riscos/save.c index e6b43f1a3..b435787b0 100644 --- a/frontends/riscos/save.c +++ b/frontends/riscos/save.c @@ -1020,7 +1020,7 @@ ro_gui_save_content(struct hlcache_handle *h, char *path, bool force_overwrite) } else gui_save_current_type = GUI_SAVE_OBJECT_ORIG; /** \todo do this earlier? */ - /* fall through */ + fallthrough; case GUI_SAVE_SOURCE: case GUI_SAVE_OBJECT_ORIG: source_data = content_get_source_data(h, &source_size); diff --git a/frontends/riscos/textarea.c b/frontends/riscos/textarea.c index 6f41c640b..69b7eede1 100644 --- a/frontends/riscos/textarea.c +++ b/frontends/riscos/textarea.c @@ -33,6 +33,7 @@ #include "utils/log.h" #include "utils/utf8.h" +#include "utils/utils.h" #include "riscos/gui.h" #include "riscos/oslib_pre7.h" @@ -1023,7 +1024,7 @@ bool ro_textarea_key_press(wimp_key *key) break; } - /* fall through */ + fallthrough; case wimp_KEY_ESCAPE: keypress = *key; keypress.w = ta->parent; |