diff options
author | pgen <p.gen.progs@gmail.com> | 2021-05-02 21:48:28 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2021-05-02 21:52:59 +0200 |
commit | 9819b67560c35c8dfe88dd1cf98af16a738d1eb7 (patch) | |
tree | 054e0343b439642ecfff6b77e34b2674489da942 | |
parent | 1468d202cd3658e4f05de6423736f472c14f7bbc (diff) |
Add comments about "fallthroughs" in cases
-rw-r--r-- | smenu.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -10443,6 +10443,9 @@ main(int argc, char * argv[]) if (search_mode != NONE) search_mode = NONE; + /* Fall through. */ + /* """"""""""""" */ + case 'H': if (search_mode == NONE) { @@ -10469,6 +10472,9 @@ main(int argc, char * argv[]) if (search_mode != NONE) search_mode = NONE; + /* Fall through. */ + /* """"""""""""" */ + case 'h': if (search_mode == NONE) move_left(&win, &term, &toggles, &search_data, &langinfo, &nl, @@ -10484,6 +10490,9 @@ main(int argc, char * argv[]) if (search_mode != NONE) search_mode = NONE; + /* Fall through. */ + /* """"""""""""" */ + case 'L': if (search_mode == NONE) { @@ -10512,6 +10521,9 @@ main(int argc, char * argv[]) if (search_mode != NONE) search_mode = NONE; + /* Fall through. */ + /* """"""""""""" */ + case 'l': if (search_mode == NONE) move_right(&win, &term, &toggles, &search_data, &langinfo, &nl, @@ -10541,6 +10553,9 @@ main(int argc, char * argv[]) if (search_mode != NONE) search_mode = NONE; + /* Fall through. */ + /* """"""""""""" */ + case 'k': if (search_mode == NONE) move_up(&win, &term, &toggles, &search_data, &langinfo, &nl, page, @@ -10608,6 +10623,9 @@ main(int argc, char * argv[]) if (search_mode != NONE) search_mode = NONE; + /* Fall through. */ + /* """"""""""""" */ + case 'j': if (search_mode == NONE) move_down(&win, &term, &toggles, &search_data, &langinfo, &nl, page, |