summaryrefslogtreecommitdiff
path: root/dln.c
diff options
context:
space:
mode:
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dln.c b/dln.c
index 061411425e..100fa08a10 100644
--- a/dln.c
+++ b/dln.c
@@ -1248,8 +1248,7 @@ dln_load(file)
strcpy(winfile, file);
/* Load file */
- if ((handle =
- LoadLibraryExA(winfile, NULL, LOAD_WITH_ALTERED_SEARCH_PATH)) == NULL) {
+ if ((handle = LoadLibrary(winfile)) == NULL) {
goto failed;
}