]> git.stg.codes - stg.git/commitdiff
Ticket 26. The break operator moved into the external if() construction
authorElena Mamontova <helenh463@gmail.com>
Wed, 13 Apr 2016 07:18:31 +0000 (10:18 +0300)
committerElena Mamontova <helenh463@gmail.com>
Wed, 13 Apr 2016 07:18:31 +0000 (10:18 +0300)
in the PluginManager::reload() function.

projects/stargazer/plugin_mgr.cpp

index b127869bd4eaaa76ba88f04aee32eea4401b33a0..85215c7bae0f8fa43dd7371401e2adb28656eafc 100644 (file)
@@ -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;
         }
     }
 }