Fix field detection in ANSI
This commit is contained in:
@@ -115,7 +115,7 @@ class Ansi extends AbstractParser {
|
||||
$c--; // Allow for the original ESC
|
||||
$advance++;
|
||||
$fieldtype = ord($nextbyte)%128; // @todo Do we need the %128 for ANSI?
|
||||
$fieldlength = $this->findEOF(chr($fieldtype),$c+1)+1;
|
||||
$fieldlength = $this->findEOF(chr($fieldtype),$c+2)+1;
|
||||
|
||||
$byte = '';
|
||||
|
||||
|
Reference in New Issue
Block a user