summaryrefslogtreecommitdiff
path: root/wasp/draw565.py
diff options
context:
space:
mode:
Diffstat (limited to 'wasp/draw565.py')
-rw-r--r--wasp/draw565.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/draw565.py b/wasp/draw565.py
index f831b04..50f5547 100644
--- a/wasp/draw565.py
+++ b/wasp/draw565.py
@@ -75,7 +75,7 @@ def _bounding_box(s, font):
return (0, font.height())
get_ch = font.get_ch
- w = len(s) - 1
+ w = len(s)
for ch in s:
(_, h, wc) = get_ch(ch)
w += wc