summaryrefslogtreecommitdiff
path: root/libstd
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-07 15:11:38 -0700
committerOri Bernstein <ori@eigenstate.org>2015-06-07 15:11:38 -0700
commitf000461027b34e34b6e9bfdc54a5cce2a058f705 (patch)
tree867dde9662837ac64968f1d97a53c503f9663918 /libstd
parent41a66f79ac8284bbffb9820deb8655b6bdda1c9b (diff)
downloadmc-f000461027b34e34b6e9bfdc54a5cce2a058f705.tar.gz
Set params to empty.
Diffstat (limited to 'libstd')
-rw-r--r--libstd/fmt2.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstd/fmt2.myr b/libstd/fmt2.myr
index 41423c3..6ce93dd 100644
--- a/libstd/fmt2.myr
+++ b/libstd/fmt2.myr
@@ -131,6 +131,7 @@ const f2sbfmtv = {sb, fmt, ap -> size
(c, fmt) = striter(fmt)
match c
| '%':
+ params = ""
if fmt.len > 1
if fmt[0] == '%' castto(byte)
sbputc(sb, '%')