Permalink
Browse files

sys: tiny factorization

  • Loading branch information...
1 parent d7991ca commit 725a07055d4e95f5fdd85dab7ff7c5057021c797 @Aranud Aranud committed Feb 16, 2017
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/sys/sys_main.c
View
@@ -655,8 +655,6 @@ static void *Sys_TryLibraryLoad(const char *base, const char *gamedir, const cha
}
}
- return libHandle;
-
#else // __APPLE__
fn = FS_BuildOSPath(base, gamedir, fname);
@@ -670,9 +668,9 @@ static void *Sys_TryLibraryLoad(const char *base, const char *gamedir, const cha
return NULL;
}
-#endif // __APPLE__
+ Com_Printf("succeeded\n");
- Com_Printf("succeeded\n");
+#endif // __APPLE__
return libHandle;
}

0 comments on commit 725a070

Please sign in to comment.