dmcompos: Indirection level fix

Andrew Talbot andrew.talbot at talbotville.com
Wed Sep 19 15:03:23 CDT 2007


The "guid" element of a guid_info type is a GUID *, not a GUID, so we should
pass it, rather than its address, to IsEqualGUID().

-- Andy.
---
Changelog:
    dmcompos: Fix indirection level.

diff --git a/dlls/dmcompos/dmcompos_main.c b/dlls/dmcompos/dmcompos_main.c
index c90c745..5d21544 100644
--- a/dlls/dmcompos/dmcompos_main.c
+++ b/dlls/dmcompos/dmcompos_main.c
@@ -544,7 +544,7 @@ const char *debugstr_dmguid (const GUID
         if (!id) return "(null)";
 
 	for (i = 0; i < sizeof(guids)/sizeof(guids[0]); i++) {
-		if (IsEqualGUID(id, &guids[i].guid))
+		if (IsEqualGUID(id, guids[i].guid))
 			return guids[i].name;
 	}
 	/* if we didn't find it, act like standard debugstr_guid */	



More information about the wine-patches mailing list