Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Layer class LIST Expression #5245
It seems that each list item is compared to the string attribute item but it is not checked if it is the whole string.
This expression above returns true if "event" string attribute = "freezing rain"
Line 490 should probably read:
if(!strncmp(start,shape->values[itemindex],end-start) && shape->values[itemindex][end-start] == '\0') return MS_TRUE;
Here are other examples where Expression returns true, but might not be the same problem/solution