From 8af1efd764fbe770582f54ee30ae257dfc14bee9 Mon Sep 17 00:00:00 2001 From: carlocamilloni <carlo.camilloni@gmail.com> Date: Wed, 31 Jul 2019 12:53:10 +0200 Subject: [PATCH] keywords: fix a small bug that was preventing customiszble components to avoid warning --- src/tools/Keywords.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/Keywords.cpp b/src/tools/Keywords.cpp index a67984847..980769306 100644 --- a/src/tools/Keywords.cpp +++ b/src/tools/Keywords.cpp @@ -631,7 +631,7 @@ void Keywords::addOutputComponent( const std::string& name, const std::string& k } bool Keywords::outputComponentExists( const std::string& name, const bool& custom ) const { - if( custom && cstring.find("customizable")!=std::string::npos ) return true; + if( custom && cstring.find("customized")!=std::string::npos ) return true; std::string sname; std::size_t num=name.find_first_of("-"); if( num!=std::string::npos ) sname=name.substr(0,num); -- GitLab