1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-01 05:06:41 +00:00

make testing empty cells against an empty string yield true

This commit is contained in:
Marc Zinnschlag 2013-10-13 21:54:36 +02:00
parent ce8694c84e
commit 4905f1c8ab

View file

@ -49,6 +49,8 @@ bool CSMFilter::TextNode::test (const CSMWorld::IdTable& table, int row,
{
string = data.toBool() ? "true" : "false";
}
else if (mText.empty() && !data.isValid())
return true;
else
return false;