Files
IRCC_Vigenere/kolibrios_v8930_ircc-fixchars.patch
T
2026-01-24 22:34:57 +00:00

43 lines
1.2 KiB
Diff

---
programs/network/ircc/textbox.inc | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/programs/network/ircc/textbox.inc b/programs/network/ircc/textbox.inc
index bedaec6fe..5f685c4d7 100644
--- a/programs/network/ircc/textbox.inc
+++ b/programs/network/ircc/textbox.inc
@@ -140,6 +140,30 @@ print_asciiz:
;----------------------------------
print_char:
+ cmp al, 1
+ je .unsupported_char
+ cmp al, 2
+ je .unsupported_char
+ cmp al, 4
+ je .unsupported_char
+ cmp al, 5
+ je .unsupported_char
+ cmp al, 6
+ je .unsupported_char
+ cmp al, 7
+ je .unsupported_char
+ cmp al, 8
+ je .unsupported_char
+ cmp al, 9
+ je .unsupported_char
+ cmp al, 11
+ je .unsupported_char
+ cmp al, 12
+ je .unsupported_char
+ jmp .supported_char
+ .unsupported_char:
+ ret
+ .supported_char:
push esi edi
mov esi, [window_print]
mov edi, [esi + window.text_write]
--
2.52.0