Commit 24833c58 authored by Claes Sjofors's avatar Claes Sjofors

Gdh bugfix for single attributes object attrrefs

parent cca957dd
......@@ -439,7 +439,8 @@ mvol_ArefToAttribute (
if ( arp->Size == 0 && arp->Flags.b.ObjectAttr && offset == arp->Offset &&
acp->attr[i].flags.b.isclass)
break;
if ( acp->attr[i].size == arp->Size)
if ( acp->attr[i].size == arp->Size &&
!(acp->attr[i].flags.b.isclass && !arp->Flags.b.ObjectAttr))
break;
if ( acp->attr[i].flags.b.array) {
for ( j = 0; j < acp->attr[i].elem; j++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment