From: Enlightenment S. <no-...@en...> - 2012-10-04 23:18:56
|
Log: terminology: Check for correct terminator Author: englebass Date: 2012-10-04 16:18:50 -0700 (Thu, 04 Oct 2012) New Revision: 77483 Trac: http://trac.enlightenment.org/e/changeset/77483 Modified: trunk/terminology/src/bin/termptyesc.c Modified: trunk/terminology/src/bin/termptyesc.c =================================================================== --- trunk/terminology/src/bin/termptyesc.c 2012-10-04 23:18:46 UTC (rev 77482) +++ trunk/terminology/src/bin/termptyesc.c 2012-10-04 23:18:50 UTC (rev 77483) @@ -878,7 +878,7 @@ cc++; } *b = 0; - if ((*cc < ' ') || (*cc >= 0x7f)) cc++; + if ((*cc == ST) || (*cc == BEL)) cc++; else return -2; switch (buf[0]) { |