Changed: Minor changes

This commit is contained in:
kervala 2015-12-05 18:51:37 +01:00
parent b018690171
commit b1336b1489

View file

@ -444,13 +444,13 @@ bool CCtrlSheetInfo::parseCtrlInfo(xmlNodePtr cur, CInterfaceGroup * /* parentGr
for(uint i=0;i<strList.size();i++) for(uint i=0;i<strList.size();i++)
{ {
BRICK_TYPE::EBrickType brickType= BRICK_TYPE::toBrickType(strList[i]); BRICK_TYPE::EBrickType brickType= BRICK_TYPE::toBrickType(strList[i]);
if(brickType==BRICK_TYPE::UNKNOWN) if (brickType==BRICK_TYPE::UNKNOWN)
{ {
nlwarning("<CCtrlSheetInfo::parseCtrlInfo> %s has an unvalid Brick Type", (const char *) prop); nlwarning("<CCtrlSheetInfo::parseCtrlInfo> %s has an unvalid Brick Type", (const char *) prop);
} }
else else
{ {
// must not have so much brick type, else must change code! // must not have so much brick type else must change code!
// nlassert(brickType<32); // nlassert(brickType<32);
// Ok set the bit associated // Ok set the bit associated