Fix indentation and asString
This commit is contained in:
parent
7442cfc8ba
commit
1e80449172
|
|
@ -1285,7 +1285,7 @@ filter_objects(const char *property,
|
|||
bool not_pattern_match = stringEq(op, "!~");
|
||||
for (T *object : *objects) {
|
||||
PropertyValue value(getProperty(object, property, sta));
|
||||
const char *prop = value.stringValue();
|
||||
const char *prop = value.asString(sta->network());
|
||||
if (prop &&
|
||||
((exact_match && stringEq(prop, pattern))
|
||||
|| (not_match && !stringEq(prop, pattern))
|
||||
|
|
|
|||
Loading…
Reference in New Issue