summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--stc/cfmt.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/stc/cfmt.h b/stc/cfmt.h
index 843e1b12..aefd4130 100644
--- a/stc/cfmt.h
+++ b/stc/cfmt.h
@@ -173,8 +173,7 @@ _cfmt_conv(int nargs, const char *fmt, ...) {
++fmt;
while (*f) *p++ = *f++;
}
- ch = *fmt;
- break;
+ continue;
case '}':
if (fmt[1] == '}') ++fmt;
break;
@@ -192,8 +191,7 @@ _cfmt_conv(int nargs, const char *fmt, ...) {
if (!strchr("csdioxXufFeEaAgGnp", fmt[-1]))
while (*f) *p++ = *f++;
fmt += (*fmt == '}');
- ch = *fmt;
- break;
+ continue;
}
break;
}