diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-24 15:39:01 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-08-04 18:59:46 +0000 |
commit | 005c414e5f2a0ace3756da767d3920ac98cb5c76 (patch) | |
tree | 73b17f1e733ffb64a475657eefa21b17ac1ff7b9 /apps/plugins/rockpaint.c | |
parent | ef41cc6623226f3ce7630211ef88640a48fb8e59 (diff) | |
download | rockbox-005c414e5f2a0ace3756da767d3920ac98cb5c76.tar.gz rockbox-005c414e5f2a0ace3756da767d3920ac98cb5c76.zip |
Document intentional fallthroughs + fix harmless unintended ones
Change-Id: I1ca5b1027ec30cbf61093bab35b980196ed14e6b
Diffstat (limited to 'apps/plugins/rockpaint.c')
-rw-r--r-- | apps/plugins/rockpaint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/rockpaint.c b/apps/plugins/rockpaint.c index a0d9b26ec2..09fa2c8c5f 100644 --- a/apps/plugins/rockpaint.c +++ b/apps/plugins/rockpaint.c | |||
@@ -1907,6 +1907,7 @@ static void draw_text( int x, int y ) | |||
1907 | rb->lcd_set_foreground( rp_colors[ drawcolor ] ); | 1907 | rb->lcd_set_foreground( rp_colors[ drawcolor ] ); |
1908 | buffer_putsxyofs( save_buffer, COLS, ROWS, x, y, 0, | 1908 | buffer_putsxyofs( save_buffer, COLS, ROWS, x, y, 0, |
1909 | buffer->text.text ); | 1909 | buffer->text.text ); |
1910 | /* fallthrough */ | ||
1910 | case TEXT_MENU_CANCEL: | 1911 | case TEXT_MENU_CANCEL: |
1911 | default: | 1912 | default: |
1912 | restore_screen(); | 1913 | restore_screen(); |