Commit 65331680 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

cmd/tests: If we rewind to the beginning of the line, don't increment line number.

parent 6520f191
......@@ -315,7 +315,11 @@ static void test_output(const char *out_data, DWORD out_size, const char *exp_da
if(is_todo_wine) winetest_end_todo("wine");
if (is_exp_resync && err && is_todo_wine)
{
exp_ptr -= sizeof(todo_wine_cmd);
/* If we rewind to the beginning of the line, don't increment line number */
line--;
}
else if (!is_exp_resync || (is_exp_resync && !err))
{
exp_ptr = exp_nl+1;
......
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