Commit aab95c8c authored by Claes Sjofors's avatar Claes Sjofors

IO Buffer fix reverted

parent 4e5287be
/* /*
* Proview Open Source Process Control. * Proview Open Source Process Control.
* Copyright (C) 2005-2011 SSAB Oxelosund AB. * Copyright (C) 2005-2012 SSAB EMEA AB.
* *
* This file is part of Proview. * This file is part of Proview.
* *
...@@ -151,10 +151,12 @@ wb_adrep *wb_bdrep::adrep( pwr_tStatus *sts, const char *aname) ...@@ -151,10 +151,12 @@ wb_adrep *wb_bdrep::adrep( pwr_tStatus *sts, const char *aname)
bool next_attr = false; bool next_attr = false;
wb_name an(n.attribute(i)); wb_name an(n.attribute(i));
wb_orep *orep = bd->m_orep->vrep()->child( sts, bd->m_orep, an); wb_orep *orep = bd->m_orep->vrep()->child( sts, bd->m_orep, an);
#if 0
if ( EVEN(*sts) && i > 0) { if ( EVEN(*sts) && i > 0) {
*sts = LDH__ATTRINDEX; *sts = LDH__ATTRINDEX;
return 0; return 0;
} }
#endif
while ( EVEN(*sts)) { while ( EVEN(*sts)) {
// Try Super attribute // Try Super attribute
orep = bd->m_orep->vrep()->first( sts, bd->m_orep); orep = bd->m_orep->vrep()->first( sts, bd->m_orep);
......
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