summaryrefslogtreecommitdiff
path: root/frontends/riscos/textarea.c
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2024-03-13 21:36:06 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2024-03-13 21:36:06 +0000
commit4148b16ed43220b3a2b28a1516be5506592f42f5 (patch)
tree7e71134be07f6be0e4e290ac3431845f846880d9 /frontends/riscos/textarea.c
parent3be91870a4d9094ef2955a10a05cb5674ea2f387 (diff)
downloadnetsurf-4148b16ed43220b3a2b28a1516be5506592f42f5.tar.gz
netsurf-4148b16ed43220b3a2b28a1516be5506592f42f5.tar.bz2
RISC OS: use modern fallthrough mechanism
Diffstat (limited to 'frontends/riscos/textarea.c')
-rw-r--r--frontends/riscos/textarea.c3
1 files changed, 2 insertions, 1 deletions
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;