quartz: Avoid importing shlwapi.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b743cfe4fb
commit
5c06f4e4d5
|
@ -1,6 +1,6 @@
|
|||
MODULE = quartz.dll
|
||||
IMPORTLIB = quartz
|
||||
IMPORTS = strmiids dxguid strmbase uuid dsound msacm32 msvfw32 ole32 oleaut32 shlwapi rpcrt4 user32 gdi32 advapi32
|
||||
IMPORTS = strmiids dxguid strmbase uuid dsound msacm32 msvfw32 ole32 oleaut32 rpcrt4 user32 gdi32 advapi32
|
||||
|
||||
C_SRCS = \
|
||||
acmwrapper.c \
|
||||
|
|
|
@ -100,8 +100,7 @@ static HRESULT process_extensions(HKEY hkeyExtensions, LPCOLESTR pszFileName, GU
|
|||
return E_POINTER;
|
||||
|
||||
/* Get the part of the name that matters */
|
||||
extension = PathFindExtensionW(pszFileName);
|
||||
if (*extension != '.')
|
||||
if (!(extension = strrchrW(pszFileName, '.')))
|
||||
return E_FAIL;
|
||||
|
||||
l = RegOpenKeyExW(hkeyExtensions, extension, 0, KEY_READ, &hsub);
|
||||
|
|
Loading…
Reference in New Issue