terminology: use enough space for output

If value is outside range it can use most of unsigned int range as it is
a unicode character.

SVN revision: 77197
This commit is contained in:
Sebastian Dransfeld 2012-09-28 11:12:04 +00:00
parent c8e8753ed7
commit bb20618912
1 changed files with 1 additions and 1 deletions

View File

@ -1069,7 +1069,7 @@ _termpty_handle_seq(Termpty *ty, Eina_Unicode *c, Eina_Unicode *ce)
for (j = 0; c + j < ce && j < 100; j++)
{
if ((c[j] < ' ') || (c[j] >= 0x7f))
printf("\033[35m%02x\033[0m", c[j]);
printf("\033[35m%08x\033[0m", c[j]);
else
printf("%c", c[j]);
}