about summary refs log tree commit diff stats
path: root/103glyph.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-08-31 22:35:22 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-08-31 22:42:40 -0700
commitb6ba4c30cc73d9d3217e19553b4b4c25bf469758 (patch)
treeb5f3bccb3d931d166f5c24d07d219ed483d2de9c /103glyph.subx
parent39a6e6f533edbab3b86c2eb8a25fd6d55c264825 (diff)
downloadmu-b6ba4c30cc73d9d3217e19553b4b4c25bf469758.tar.gz
fix a typo from commit a479f0d0837
Yet another gnarly reason to start checking all arg metadata in
linux/pack.subx or something like that. With this bug most of my
programs (including browser-slack!) were working even though the
instruction stream was almost certainly misdecoded halfway through every
attempt to draw glyphs.
Diffstat (limited to '103glyph.subx')
-rw-r--r--103glyph.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/103glyph.subx b/103glyph.subx
index f10ac871..779798d3 100644
--- a/103glyph.subx
+++ b/103glyph.subx
@@ -84,7 +84,7 @@ draw-code-point-on-screen-buffer:  # buffer: (addr byte), c: code-point, x: int,
     8b/-> *(ebp+0xc) 6/r32/esi
     # if (c >= 4352) return  # unicode planes supported: latin, greek, cyrillic, armenian, hebrew, arabic, syriac, thaana, n'ko, indian (iscii), sinhala, thai, lao, tibetan, myanmar, georgian
                              # next few to support: CJK, ethiopic, cherokee, ...
-    81 7/subop/compare %esi 0x1100/imm32=4352
+    81 7/subop/compare %esi 0x1100/imm32/4352
     0f 8d/jump-if->= $draw-code-point-on-screen-buffer:end/disp32
     # var letter-bitmap/esi = font[c]
     69/multiply %esi 0x21/imm32/glyph-size 6/r32/esi