Commit 6144addc authored by Fabian Maurer's avatar Fabian Maurer Committed by Alexandre Julliard

comctl32/tests: Dump failed message sequence correctly.

parent f4fe2b2d
......@@ -165,11 +165,12 @@ static void dump_sequence( struct msg_sequence **seq, int sequence_index,
}
static void ok_sequence_(struct msg_sequence **seq, int sequence_index,
const struct message *expected, const char *context, BOOL todo,
const struct message *expected_list, const char *context, BOOL todo,
const char *file, int line)
{
struct msg_sequence *msg_seq = seq[sequence_index];
static const struct message end_of_sequence = {0, 0, 0, 0};
struct msg_sequence *msg_seq = seq[sequence_index];
const struct message *expected = expected_list;
const struct message *actual, *sequence;
int failcount = 0, dump = 0;
......@@ -379,7 +380,7 @@ static void ok_sequence_(struct msg_sequence **seq, int sequence_index,
}
done:
if (dump) dump_sequence( seq, sequence_index, expected, context, file, line );
if (dump) dump_sequence( seq, sequence_index, expected_list, context, file, line );
flush_sequence(seq, sequence_index);
}
......
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