summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--format-draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/format-draw.c b/format-draw.c
index f8882ac2..b589ca5e 100644
--- a/format-draw.c
+++ b/format-draw.c
@@ -791,7 +791,8 @@ format_width(const char *expanded)
} else if (*cp > 0x1f && *cp < 0x7f) {
width++;
cp++;
- }
+ } else
+ cp++;
}
return (width);
}