Andrew Talbot : msacm32: Fix a typo.
Alexandre Julliard
julliard at winehq.org
Mon Mar 9 09:40:29 CDT 2009
Module: wine
Branch: master
Commit: b0cd0d1ea80cfebf975583c9c58186a4b8a2784c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b0cd0d1ea80cfebf975583c9c58186a4b8a2784c
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Sun Mar 8 21:05:17 2009 +0000
msacm32: Fix a typo.
---
dlls/msacm32/internal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msacm32/internal.c b/dlls/msacm32/internal.c
index 4100aae..feb6e9c 100644
--- a/dlls/msacm32/internal.c
+++ b/dlls/msacm32/internal.c
@@ -72,7 +72,7 @@ PWINE_ACMDRIVERID MSACM_RegisterDriverFromRegistry(LPCWSTR pszRegEntry)
/* The requested registry entry must have the format msacm.XXXXX in order to
be recognized in any future sessions of msacm
*/
- if (0 == strncmpiW(buf, msacmW, sizeof(msacmW)/sizeof(WCHAR))) {
+ if (0 == strncmpiW(pszRegEntry, msacmW, sizeof(msacmW)/sizeof(WCHAR))) {
lRet = RegOpenKeyExW(HKEY_LOCAL_MACHINE, drvkey, 0, KEY_QUERY_VALUE, &hKey);
if (lRet != ERROR_SUCCESS) {
WARN("unable to open registry key - 0x%08x\n", lRet);
More information about the wine-cvs
mailing list