Commit 5c06f4e4 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

quartz: Avoid importing shlwapi.

parent b743cfe4
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment