aboutsummaryrefslogtreecommitdiffstats
path: root/src/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/string.c b/src/string.c
index 650d10b1..b9072d86 100644
--- a/src/string.c
+++ b/src/string.c
@@ -45,8 +45,7 @@ serd_strlen(const uint8_t* str, size_t* n_bytes, SerdNodeFlags* flags)
// Does not start with `10', start of a new character
++n_chars;
switch (str[i]) {
- case '\r':
- case '\n':
+ case '\r': case '\n':
*flags |= SERD_HAS_NEWLINE;
break;
case '"':