1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-18 15:04:25 +03:00

nuking chars < 32 for z-machine

This commit is contained in:
Zed Lopez 2024-04-12 09:00:10 -07:00
parent 16c4e4327c
commit 21916814e8

View file

@ -141,7 +141,7 @@ to document all of that.
[ VM_ReadKeyboard a_buffer a_table ix;
read a_buffer a_table;
for ( ix = 2 : ix <= (a_buffer->1) + 1 : ix++ )
if ((a_buffer->ix) == 9 or 160) a_buffer->ix = 32;
if (((a_buffer->ix) < 32) || ((a_buffer->ix) == 160)) a_buffer->ix = 32;
];
@h Buffer Functions.