Alexandre Julliard : ole32/tests: Fix array indices in a trace.

Alexandre Julliard julliard at winehq.org
Tue May 21 13:56:27 CDT 2013


Module: wine
Branch: master
Commit: aaa680bfda4c665733ed2d24508bef43f37852d8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=aaa680bfda4c665733ed2d24508bef43f37852d8

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue May 21 14:57:53 2013 +0200

ole32/tests: Fix array indices in a trace.

---

 dlls/ole32/tests/clipboard.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c
index 5a16032..db090bd 100644
--- a/dlls/ole32/tests/clipboard.c
+++ b/dlls/ole32/tests/clipboard.c
@@ -742,8 +742,8 @@ static void test_cf_dataobject(IDataObject *data)
                         cfs_seen[count] = fmt.cfFormat;
                         ok(fmt_ptr->first_use_of_cf != seen_cf, "got %08x expected %08x\n",
                            fmt_ptr->first_use_of_cf, !seen_cf);
-                        ok(fmt_ptr->res[0] == 0, "got %08x\n", fmt_ptr->res[1]);
-                        ok(fmt_ptr->res[1] == 0, "got %08x\n", fmt_ptr->res[2]);
+                        ok(fmt_ptr->res[0] == 0, "got %08x\n", fmt_ptr->res[0]);
+                        ok(fmt_ptr->res[1] == 0, "got %08x\n", fmt_ptr->res[1]);
                         if(fmt.ptd)
                         {
                             DVTARGETDEVICE *target;




More information about the wine-cvs mailing list