From 4b1bc1cc5ca26d79d65321cfc90f45712f351ff0 Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Thu, 16 Mar 2017 17:07:50 +0100 Subject: Removed unnecessary check for lower and upper folder --- src/Bindings/PluginManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Bindings') diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp index aa2b5fbfc..631f8f6bc 100644 --- a/src/Bindings/PluginManager.cpp +++ b/src/Bindings/PluginManager.cpp @@ -68,7 +68,7 @@ void cPluginManager::RefreshPluginList(void) AStringVector Folders; for (auto & item: Contents) { - if ((item == ".") || (item == "..") || (!cFile::IsFolder(PluginsPath + item))) + if (!cFile::IsFolder(PluginsPath + item)) { // We only want folders, and don't want "." or ".." continue; -- cgit v1.2.3