From: Elena Mamontova <helenh463@gmail.com>
Date: Wed, 13 Apr 2016 07:18:31 +0000 (+0300)
Subject: Ticket 26. The break operator moved into the external if() construction
X-Git-Tag: 2.409~174^2~1^2~2
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/6d032ed9c94ab685f8df00f7be3dbf99e4c4e31e?ds=sidebyside;hp=-c

Ticket 26. The break operator moved into the external if() construction
in the PluginManager::reload() function.
---

6d032ed9c94ab685f8df00f7be3dbf99e4c4e31e
diff --git a/projects/stargazer/plugin_mgr.cpp b/projects/stargazer/plugin_mgr.cpp
index b127869b..85215c7b 100644
--- a/projects/stargazer/plugin_mgr.cpp
+++ b/projects/stargazer/plugin_mgr.cpp
@@ -120,8 +120,8 @@ void PluginManager::reload(const SETTINGS_IMPL& settings)
                     printfd(__FILE__, "Error reloading module '%s': '%s'\n", plugin.GetVersion().c_str(),
                                                                              plugin.GetStrError().c_str());
                 }
+                break;
             }
-            break;
         }
     }
 }