Changed: Minor changes

--HG--
branch : develop
This commit is contained in:
kervala 2015-12-05 18:51:37 +01:00
parent a245857986
commit 7a23ff8fd6

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