Huw Davies : riched20/tests: Fix test on 64-bit win8.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Apr 20 08:24:42 CDT 2015


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Fri Apr 17 14:18:36 2015 +0100

riched20/tests: Fix test on 64-bit win8.

---

 dlls/riched20/tests/editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c
index 65752af..09437ef 100644
--- a/dlls/riched20/tests/editor.c
+++ b/dlls/riched20/tests/editor.c
@@ -3412,7 +3412,7 @@ static DWORD CALLBACK test_esCallback_written_1(DWORD_PTR dwCookie,
                                                 LONG *pcb)
 {
   char** str = (char**)dwCookie;
-  ok(cb == *pcb, "cb %d, *pcb %d\n", cb, *pcb);
+  ok(*pcb == cb || *pcb == 0, "cb %d, *pcb %d\n", cb, *pcb);
   *pcb = 0;
   if (cb > 0) {
     memcpy(*str, pbBuff, cb);




More information about the wine-cvs mailing list