summaryrefslogtreecommitdiff
path: root/src/core/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/modules.cpp')
-rw-r--r--src/core/modules.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/core/modules.cpp b/src/core/modules.cpp
index 5969fdcd0e..645f238872 100644
--- a/src/core/modules.cpp
+++ b/src/core/modules.cpp
@@ -64,7 +64,8 @@ int LoadFontserviceModule(void); // ui: font manager
int LoadIcoLibModule(void); // ui: icons manager
int LoadServiceModePlugin(void);
int LoadDefaultServiceModePlugin(void);
-int LoadErrorsModule();
+int LoadErrorsModule(void);
+int LoadStdPlugins(void);
void UnloadUtilsModule(void);
void UnloadButtonModule(void);
@@ -156,15 +157,7 @@ int LoadDefaultModules(void)
if ( LoadFindAddModule()) return 1;
if ( LoadIgnoreModule()) return 1;
if ( LoadVisibilityModule()) return 1;
-
- for (int i=0; i < 11; i++) {
- if ( pluginDefault[i].pImpl )
- continue;
-
- if ( !LoadCorePlugin(pluginDefault[i]))
- return 1;
- }
-
+ if ( LoadStdPlugins()) return 1;
return 0;
}