mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user