summaryrefslogtreecommitdiff
path: root/dquote_static.c
diff options
context:
space:
mode:
Diffstat (limited to 'dquote_static.c')
-rw-r--r--dquote_static.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/dquote_static.c b/dquote_static.c
index c6d22e2dd0..fbd8c3824d 100644
--- a/dquote_static.c
+++ b/dquote_static.c
@@ -32,10 +32,11 @@ regcurly(register const char *s)
return FALSE;
while (isDIGIT(*s))
s++;
- if (*s == ',')
- s++;
- while (isDIGIT(*s))
+ if (*s == ',') {
s++;
+ while (isDIGIT(*s))
+ s++;
+ }
if (*s != '}')
return FALSE;
return TRUE;