Nikolay Sivov : msxml3/tests: Fix test crashes running old versions.
Alexandre Julliard
julliard at winehq.org
Mon May 21 15:31:08 CDT 2012
Module: wine
Branch: master
Commit: cce2b95a8f7dc1f8f74437a8822cfd1149a4dd73
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cce2b95a8f7dc1f8f74437a8822cfd1149a4dd73
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sat May 19 14:38:30 2012 +0400
msxml3/tests: 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;
}
More information about the wine-cvs
mailing list