about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--103grapheme.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/103grapheme.subx b/103grapheme.subx
index 097492fb..ab0e7b5c 100644
--- a/103grapheme.subx
+++ b/103grapheme.subx
@@ -153,9 +153,9 @@ draw-narrow-grapheme-on-screen-buffer:  # buffer: (addr byte), letter-bitmap: (a
       39/compare %edx 3/r32/ebx
       0f 8d/jump-if->= break/disp32
       # var xcurr/eax: int = x*8 + 7
-      8b/-> *(ebp+0x10) 0/r32/eax  # font-width - 1
-      c1 4/subop/shift-left %eax 3/imm8
-      05/add-to-eax 7/imm32
+      8b/-> *(ebp+0x10) 0/r32/eax
+      c1 4/subop/shift-left %eax 3/imm8  # font-width
+      05/add-to-eax 7/imm32  # font-width - 1
       # var xmin/ecx: int = x*8
       8b/-> *(ebp+0x10) 1/r32/ecx
       c1 4/subop/shift-left %ecx 3/imm8