- Fix dgorbachev's copypasta.
authorAleksey Bragin <aleksey@reactos.org>
Tue, 20 Oct 2009 14:46:02 +0000 (14:46 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Tue, 20 Oct 2009 14:46:02 +0000 (14:46 +0000)
svn path=/trunk/; revision=43649

reactos/lib/atl/atlbase.h

index 1ddea8e..597dc71 100644 (file)
@@ -248,9 +248,9 @@ inline BOOL WINAPI InlineIsEqualGUID(REFGUID rguid1, REFGUID rguid2)
 {
    return (
          ((unsigned long *)&rguid1)[0] == ((unsigned long *)&rguid2)[0] &&
-         ((unsigned long *)&rguid1)[1] == ((unsigned long *)&rguid1)[1] &&
-         ((unsigned long *)&rguid1)[2] == ((unsigned long *)&rguid1)[2] &&
-         ((unsigned long *)&rguid1)[3] == ((unsigned long *)&rguid1)[3]);
+         ((unsigned long *)&rguid1)[1] == ((unsigned long *)&rguid2)[1] &&
+         ((unsigned long *)&rguid1)[2] == ((unsigned long *)&rguid2)[2] &&
+         ((unsigned long *)&rguid1)[3] == ((unsigned long *)&rguid2)[3]);
 }
 
 class CComMultiThreadModelNoCS