Commit Diff
Diff:
adbd7a73b91d4fce7a2939cd59a66ec1be414645
184d5127fa54a919ff9848751fb06262f86d2dd6
Commit:
184d5127fa54a919ff9848751fb06262f86d2dd6
Tree:
0c5f50b4d9a5e6b83b584a648545dfd4ee8524df
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Jul 2 07:14:57 2022 UTC
Message:
add fallthrough comment

avoid a possible warning by the compiler, reported by N-R-K on GitHub
issue #1.
commit - adbd7a73b91d4fce7a2939cd59a66ec1be414645
commit + 184d5127fa54a919ff9848751fb06262f86d2dd6
blob - 9383c856ab766a79ec7b0c424b50fe9f191bd808
blob + 7d21c9aae4c01c4fcd259f1681b1b3d47fcfa8a9
--- mymenu.c
+++ mymenu.c
@@ -937,6 +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 */
case 6:
/* assume 0xff opacity */
tmp.rgba.a = 0xff;
Omar Polo