summaryrefslogtreecommitdiffstats
path: root/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.c b/stream.c
index cf1f5a96..a44db8db 100644
--- a/stream.c
+++ b/stream.c
@@ -2209,7 +2209,7 @@ val vformat(val stream, val fmtstr, va_list vl)
do_digits:
switch (saved_state) {
case vf_width:
- if (width < 0) {
+ if (digits < 0) {
width = -digits;
align = al_left;
} else {