Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/progress.c:
- flush_sequences(sequences, NUM_MSG_SEQUENCES);
- for (int i = 0; i < 4; i++)
- {
if (i != 0)
{
state = SendMessageA(progress_bar, PBM_SETSTATE, test_states[i], 0);
flush_events();
/* No paint message if new and old state are the same */
if (i == 3)
ok_sequence(sequences, CHILD_SEQ_INDEX, pbm_setstate_seq, "PBM_SETSTATE", TRUE);
else
ok_sequence(sequences, CHILD_SEQ_INDEX, paint_pbm_setstate_seq, "PBM_SETSTATE", TRUE);
todo_wine ok(state == test_states[i-1], "Expected %d, but got %d.\n", test_states[i-1], state);
Delete this empty line at the end.