Skip to content

Commit 70389ec

Browse files
committed
Conform to the coding style
1 parent 59668cf commit 70389ec

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/packcc.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static size_t strnlen_(const char *str, size_t maxlen) {
7272
#undef TRUE /* to avoid macro definition conflicts with the system header file of IBM AIX */
7373
#undef FALSE
7474

75-
#define VERSION "1.7.1"
75+
#define VERSION "1.7.2"
7676

7777
#ifndef BUFFER_MIN_SIZE
7878
#define BUFFER_MIN_SIZE 256
@@ -2786,9 +2786,10 @@ static code_reach_t generate_matching_utf8_charclass_code(generate_t *gen, const
27862786
u0 = 0;
27872787
r = FALSE;
27882788
}
2789-
else if ((value[i] != '-')
2790-
|| (i == n-1) /* the individual '-' char is valid when first or last*/
2791-
) { /* single character */
2789+
else if (
2790+
value[i] != '-' ||
2791+
i == n - 1 /* the individual '-' character is valid when it is at the first or the last position */
2792+
) { /* single character */
27922793
stream__write_characters(gen->stream, ' ', indent + 4);
27932794
stream__printf(gen->stream, "u == 0x%06x%s\n", u, (i < n) ? " ||" : "");
27942795
u0 = 0;

0 commit comments

Comments
 (0)