Michael Stefaniuc : fltmgr.sys: Use wide-char string literals.
Alexandre Julliard
julliard at winehq.org
Fri Oct 2 14:54:08 CDT 2020
Module: wine
Branch: master
Commit: b231650925eeaf29062791919332f942b61a050b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b231650925eeaf29062791919332f942b61a050b
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Thu Oct 1 23:26:24 2020 +0200
fltmgr.sys: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/fltmgr.sys/main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/fltmgr.sys/main.c b/dlls/fltmgr.sys/main.c
index a1b81e5a89..e1016a4989 100644
--- a/dlls/fltmgr.sys/main.c
+++ b/dlls/fltmgr.sys/main.c
@@ -82,8 +82,7 @@ void WINAPI FltUnregisterFilter( PFLT_FILTER filter )
void* WINAPI FltGetRoutineAddress(LPCSTR name)
{
- static const WCHAR fltmgrW[] = {'f','l','t','m','g','r','.','s','y','s',0};
- HMODULE mod = GetModuleHandleW(fltmgrW);
+ HMODULE mod = GetModuleHandleW(L"fltmgr.sys");
void *func;
func = GetProcAddress(mod, name);
More information about the wine-cvs
mailing list