summaryrefslogtreecommitdiffstats
path: root/tdeutils/tdecmodulecontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdeutils/tdecmodulecontainer.h')
-rw-r--r--tdeutils/tdecmodulecontainer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdeutils/tdecmodulecontainer.h b/tdeutils/tdecmodulecontainer.h
index 6d6717370..31961ab7f 100644
--- a/tdeutils/tdecmodulecontainer.h
+++ b/tdeutils/tdecmodulecontainer.h
@@ -203,8 +203,12 @@ extern "C" \
{ \
TQStringList modList = TQStringList::split( ",", TQString(modules).remove( " " )); \
for ( TQStringList::Iterator it = modList.begin(); it != modList.end(); ++it ) \
+ { \
if ( TDECModuleLoader::testModule( *it ) ) \
+ { \
return true; \
+ } \
+ } \
return false; \
} \
}