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:
parent
c31b305848
commit
feac3d94dd
|
|
@ -772,6 +772,11 @@ calmaElementText()
|
||||||
else if (nbytes > 0 && rtype != CALMA_STRANS)
|
else if (nbytes > 0 && rtype != CALMA_STRANS)
|
||||||
calmaSkipSet(ignore);
|
calmaSkipSet(ignore);
|
||||||
|
|
||||||
|
/* NOTE: Record may contain both PRESENTATION and WIDTH */
|
||||||
|
PEEKRH(nbytes, rtype);
|
||||||
|
if (nbytes > 0 && rtype != CALMA_STRANS)
|
||||||
|
calmaSkipSet(ignore);
|
||||||
|
|
||||||
READRH(nbytes, rtype);
|
READRH(nbytes, rtype);
|
||||||
if (nbytes > 0 && rtype == CALMA_STRANS)
|
if (nbytes > 0 && rtype == CALMA_STRANS)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue