[libbluray-devel] Cosmetics
hpi1
git at videolan.org
Thu Mar 2 14:23:20 CET 2017
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Mar 2 15:14:04 2017 +0200| [95114659abc2c0c55717ed373ecb710653be5291] | committer: hpi1
Cosmetics
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=95114659abc2c0c55717ed373ecb710653be5291
---
src/libbluray/bdj/bdj.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
index 7c78ba5..b68701f 100644
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -85,18 +85,18 @@ static void *_load_dll(const wchar_t *lib_path, const wchar_t *dll_search_path)
LOAD_LIBRARY_SEARCH_SYSTEM32);
if (!result) {
- PVOID cookie = pAddDllDirectory(dll_search_path);
- result = LoadLibraryExW(lib_path, NULL,
- LOAD_LIBRARY_SEARCH_SYSTEM32 |
- LOAD_LIBRARY_SEARCH_USER_DIRS);
- pRemoveDllDirectory(cookie);
+ PVOID cookie = pAddDllDirectory(dll_search_path);
+ result = LoadLibraryExW(lib_path, NULL,
+ LOAD_LIBRARY_SEARCH_SYSTEM32 |
+ LOAD_LIBRARY_SEARCH_USER_DIRS);
+ pRemoveDllDirectory(cookie);
}
} else {
result = LoadLibraryW(lib_path);
if (!result) {
- SetDllDirectoryW(dll_search_path);
- result = LoadLibraryW(lib_path);
- SetDllDirectoryW(L"");
+ SetDllDirectoryW(dll_search_path);
+ result = LoadLibraryW(lib_path);
+ SetDllDirectoryW(L"");
}
}
More information about the libbluray-devel
mailing list