summaryrefslogtreecommitdiff
path: root/lib/std/fmt.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/fmt.myr')
-rw-r--r--lib/std/fmt.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/fmt.myr b/lib/std/fmt.myr
index 1f542d3..48191e9 100644
--- a/lib/std/fmt.myr
+++ b/lib/std/fmt.myr
@@ -163,11 +163,11 @@ const sbfmtv = {sb, fmt, ap -> size
nparams = ap.tc.nelt
nfmt = 0
while fmt.len != 0
- (c, fmt) = strstep(fmt)
+ (c, fmt) = charstep(fmt)
match c
| '{':
if decode(fmt) == '{'
- (c, fmt) = strstep(fmt)
+ (c, fmt) = charstep(fmt)
sbputc(sb, '{')
else
(params, fmt) = getparams(fmt)