summaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'signal-composer-binding/signal.cpp')
-rw-r--r--signal-composer-binding/signal.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/signal-composer-binding/signal.cpp b/signal-composer-binding/signal.cpp
index dfa3d5f..673295a 100644
--- a/signal-composer-binding/signal.cpp
+++ b/signal-composer-binding/signal.cpp
@@ -57,6 +57,7 @@ bool Signal::operator ==(const std::string& aName) const
for( const std::string& src : signalSigList_)
{
if(! fnmatch(aName.c_str(), src.c_str(), FNM_CASEFOLD)) {return true;}
+ if( src.find(aName) != std::string::npos) {return true;}
}
return false;
}