Commit Diff
Diff:
92775badf406279575ab1910c805b648210d18c6
ec9651a9c19c6effb748a62dea87e9675cbc9890
Commit:
ec9651a9c19c6effb748a62dea87e9675cbc9890
Tree:
c02c3b73a23ff63983930ee0915af8bd57fb250f
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Jul 2 07:58:26 2022 UTC
Message:
it's spelled fallthrough, not fallback

reminded by N-R-K on GitHub (issue #1).
commit - 92775badf406279575ab1910c805b648210d18c6
commit + ec9651a9c19c6effb748a62dea87e9675cbc9890
blob - 7d21c9aae4c01c4fcd259f1681b1b3d47fcfa8a9
blob + af93b433d22b718e23d008fd09567dd406bd9ca7
--- mymenu.c
+++ mymenu.c
@@ -937,7 +937,7 @@ parse_color(const char *str, const char *def)
/* expand #rgb -> #rrggbb */
tmp.v = (tmp.v & 0xf00) * 0x1100 | (tmp.v & 0x0f0) * 0x0110
| (tmp.v & 0x00f) * 0x0011;
- /* fallback */
+ /* fallthrough */
case 6:
/* assume 0xff opacity */
tmp.rgba.a = 0xff;
Omar Polo