UI-Coordinates: fix insidious bug

util::contains used to pick the overload for strings,
i.e. it first converted the UI-Coordinates to diagnostic output format
and then searched that string for '*' to determine if the pattern is explicit

works as expected, but not what you'd intend....
...and breaks spectacularly once you search for something as innocuous as '.'
This commit is contained in:
Fischlurch 2018-02-16 06:41:42 +01:00
parent 983c490644
commit 66cd1fcea8

View file

@ -290,6 +290,7 @@ namespace interact {
/* === String representation === */
explicit
operator string() const
{
if (isnil (*this))