Fixed: Assign instead of a comparison

hg/feature/gsoc2013-dfighter
kervala 12 years ago
parent b0e717728b
commit 920cbf55ca

@ -507,7 +507,7 @@ bool CObject::getShortestName(std::string &instanceId, std::string &attrName, si
return false; return false;
} }
instanceId = parent2->getAttr("InstanceId")->toString(); instanceId = parent2->getAttr("InstanceId")->toString();
attrName == parent2->getKey(index2); attrName = parent2->getKey(index2);
position = index; position = index;
return true; return true;
} }

Loading…
Cancel
Save