summaryrefslogtreecommitdiffhomepage
path: root/src/pattern.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pattern.c')
-rw-r--r--src/pattern.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/pattern.c b/src/pattern.c
index a60f643..0dabc15 100644
--- a/src/pattern.c
+++ b/src/pattern.c
@@ -30,9 +30,11 @@ static int index_in(const char *set, unsigned char c) {
* alphabet. Any other range is by character code.
*/
static bool in_range(unsigned char lo, unsigned char hi, unsigned char c) {
- static const char *const sets[] = {"abcdefghijklmnopqrstuvwxyz",
- "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
- "0123456789"};
+ static const char *const sets[] = {
+ "abcdefghijklmnopqrstuvwxyz",
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
+ "0123456789",
+ };
for (size_t i = 0; i < ARRAY_LEN(sets); i++) {
int a = index_in(sets[i], lo);
int b = index_in(sets[i], hi);