Fixed VDF plugin loading on core-legacy (ep1) on Linux (bug 4410, r=dvander).

This commit is contained in:
Scott Ehlert 2010-06-12 01:24:47 -04:00
parent 735af26d2a
commit c795670493

View File

@ -336,7 +336,7 @@ bool LoadFromVDF(const char *file, bool &skipped)
g_PluginMngr.SetAlias(alias, plugin_file); g_PluginMngr.SetAlias(alias, plugin_file);
} }
g_SmmAPI.GetFullPluginPath(file, full_path, sizeof(full_path)); g_SmmAPI.GetFullPluginPath(plugin_file, full_path, sizeof(full_path));
id = g_PluginMngr.Load(full_path, Pl_File, already, error, sizeof(error)); id = g_PluginMngr.Load(full_path, Pl_File, already, error, sizeof(error));
skipped = already; skipped = already;