summaryrefslogtreecommitdiff
path: root/term/munge.c
diff options
context:
space:
mode:
Diffstat (limited to 'term/munge.c')
-rw-r--r--term/munge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term/munge.c b/term/munge.c
index f9cb5d72..8b3ea40b 100644
--- a/term/munge.c
+++ b/term/munge.c
@@ -135,7 +135,7 @@ output_width (int c, int loc)
int n = loc + 1;
while (n % 8)
n++;
- return n;
+ return n - loc;
}
if ((c >= ' ') && (c < '\177'))
return 1;