Commit 3e56f9fd authored by claes's avatar claes

Bugfix in attrref.Body

parent 602bf2cd
/* /*
* Proview $Id: wb_vrepwbl.cpp,v 1.54 2006-06-08 13:38:04 claes Exp $ * Proview $Id: wb_vrepwbl.cpp,v 1.55 2007-11-07 18:06:32 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -1192,7 +1192,7 @@ int wb_vrepwbl::nameToAttrRef( const char *name, pwr_sAttrRef *attrref) ...@@ -1192,7 +1192,7 @@ int wb_vrepwbl::nameToAttrRef( const char *name, pwr_sAttrRef *attrref)
attrref->Objid = oid; attrref->Objid = oid;
attrref->Offset = a_offset; attrref->Offset = a_offset;
attrref->Size = a_size; attrref->Size = a_size;
attrref->Body = a_tid; attrref->Body = cid | bix;
attrref->Flags.m = 0; attrref->Flags.m = 0;
if ( a_flags & pwr_mAdef_pointer && !(a_flags & pwr_mAdef_private)) if ( a_flags & pwr_mAdef_pointer && !(a_flags & pwr_mAdef_private))
attrref->Flags.b.Indirect = 1; attrref->Flags.b.Indirect = 1;
......
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