summaryrefslogtreecommitdiff
path: root/src/Fl_Preferences.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Preferences.cxx')
-rw-r--r--src/Fl_Preferences.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx
index 11851c0de..454b0f759 100644
--- a/src/Fl_Preferences.cxx
+++ b/src/Fl_Preferences.cxx
@@ -1652,7 +1652,7 @@ void Fl_Plugin_Manager::removePlugin(Fl_Preferences::ID id) {
int Fl_Plugin_Manager::load(const char *filename) {
// the functions below will automatically load plugins that are defined:
// Fl_My_Plugin plugin();
- void *dl = Fl::system_driver()->dlopen(filename);
+ void *dl = Fl::system_driver()->load(filename);
// There is no way of unloading a plugin!
return (dl != 0) ? 0 : -1;
}