summaryrefslogtreecommitdiff
path: root/apps/gui/list.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-07-24 15:39:01 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-08-04 18:59:46 +0000
commit005c414e5f2a0ace3756da767d3920ac98cb5c76 (patch)
tree73b17f1e733ffb64a475657eefa21b17ac1ff7b9 /apps/gui/list.c
parentef41cc6623226f3ce7630211ef88640a48fb8e59 (diff)
downloadrockbox-005c414e5f2a0ace3756da767d3920ac98cb5c76.tar.gz
rockbox-005c414e5f2a0ace3756da767d3920ac98cb5c76.zip
Document intentional fallthroughs + fix harmless unintended ones
Change-Id: I1ca5b1027ec30cbf61093bab35b980196ed14e6b
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r--apps/gui/list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 36dbe44445..139dbaac18 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -748,6 +748,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists,
748 return true; 748 return true;
749 } 749 }
750 *actionptr = ACTION_TREE_PGLEFT; 750 *actionptr = ACTION_TREE_PGLEFT;
751 /* fallthrough */
751 case ACTION_TREE_PGLEFT: 752 case ACTION_TREE_PGLEFT:
752 if(pgleft_allow_cancel && (lists->offset_position[0] == 0)) 753 if(pgleft_allow_cancel && (lists->offset_position[0] == 0))
753 { 754 {