[1/2] msxml3/tests: Fix test crashes running old versions

Nikolay Sivov nsivov at codeweavers.com
Mon May 21 04:12:40 CDT 2012


Fix test crashes running old versions
-------------- next part --------------
>From 431d8532ac500d32c2553744c9eb2a08b55ec311 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sat, 19 May 2012 14:38:30 +0400
Subject: [PATCH 7/8] Fix test crashes running old versions

---
 dlls/msxml3/tests/saxreader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/tests/saxreader.c b/dlls/msxml3/tests/saxreader.c
index 49a6cb0..b4d6f7f 100644
--- a/dlls/msxml3/tests/saxreader.c
+++ b/dlls/msxml3/tests/saxreader.c
@@ -3760,7 +3760,7 @@ static void test_mxwriter_encoding(void)
             "%s: encoding not accepted\n", enc);
         if (hr != S_OK)
         {
-            enc = encoding_names[i++];
+            enc = encoding_names[++i];
             IStream_Release(stream);
             continue;
         }
-- 
1.5.6.5




More information about the wine-patches mailing list