Ignored \0 in VT_Write, Added out of memory message
[tpg/acess2.git] / Kernel / drv / vterm.c
index 8e97033..4b5a231 100644 (file)
@@ -447,6 +447,7 @@ void VT_int_PutChar(tVTerm *Term, Uint32 Ch)
        
        switch(Ch)
        {
+       case 0: return; // Ignore NULL byte
        case '\n':
                Term->WritePos += Term->Width;
        case '\r':

UCC git Repository :: git.ucc.asn.au