1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-02 23:14:57 +03:00

Adjust TestKeyboardPrimitive().

This commit is contained in:
Andrew Plotkin 2023-05-14 20:48:14 -04:00
parent 7d0c64aae2
commit 2d152f59a4

View file

@ -428,7 +428,11 @@ Global test_sp = 0;
if ((p->i == '[') && (p->(i+1) == '/') && (p->(i+2) == ']')) {
ch = '/'; i = i+2;
}
#ifdef TARGET_ZCODE;
a_buffer->(j+WORDSIZE) = ch;
#ifnot; ! TARGET_GLULX
a_buffer-->(j+1) = ch;
#endif;
print (char) ch;
i++; j++;
spaced = true;