Commit cce2b95a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3/tests: Fix test crashes running old versions.

parent 08d3b4b9
...@@ -3760,7 +3760,7 @@ static void test_mxwriter_encoding(void) ...@@ -3760,7 +3760,7 @@ static void test_mxwriter_encoding(void)
"%s: encoding not accepted\n", enc); "%s: encoding not accepted\n", enc);
if (hr != S_OK) if (hr != S_OK)
{ {
enc = encoding_names[i++]; enc = encoding_names[++i];
IStream_Release(stream); IStream_Release(stream);
continue; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment