Added missing handling of text in GDS input with PRESENTATION

followed by WIDTH (previously it assumed that PRESENTATION and
WIDTH were mutually exclusive).
This commit is contained in:
Tim Edwards 2019-07-16 10:32:36 -04:00
parent c31b305848
commit feac3d94dd
1 changed files with 5 additions and 0 deletions

View File

@ -772,6 +772,11 @@ calmaElementText()
else if (nbytes > 0 && rtype != CALMA_STRANS)
calmaSkipSet(ignore);
/* NOTE: Record may contain both PRESENTATION and WIDTH */
PEEKRH(nbytes, rtype);
if (nbytes > 0 && rtype != CALMA_STRANS)
calmaSkipSet(ignore);
READRH(nbytes, rtype);
if (nbytes > 0 && rtype == CALMA_STRANS)
{