Skip to content

Commit

Permalink
Fixed plugin loading on Unix(?)
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Nov 18, 2011
1 parent 7ecac77 commit 15594a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doomsday/engine/unix/src/dd_uinit.c
Expand Up @@ -148,8 +148,7 @@ static int loadPluginWorker(const char* pluginPath, lt_ptr data)
#ifndef MACOSX
_splitpath(pluginPath, NULL, NULL, name, NULL);
if((params->loadingGames && !strncmp(name, "libj", 4)) ||
(!params->loadingGames && !strncmp(name, "libdp", 5)) &&
!strncmp(pluginPath + strlen(pluginPath) - 3, ".so", 3))
(!params->loadingGames && !strncmp(name, "libdp", 5)))
#endif
#ifdef MACOSX
_splitpath(pluginPath, NULL, NULL, name, NULL);
Expand Down

0 comments on commit 15594a8

Please sign in to comment.