riched20/tests: wAlignment should be compared to the PFA_ values.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9a934a3198
commit
aec411ed3e
@ -8220,7 +8220,7 @@ static void test_alignment_style(void)
|
||||
pf.cbSize = sizeof(PARAFORMAT2);
|
||||
pf.dwMask = -1;
|
||||
SendMessageW(richedit, EM_GETPARAFORMAT, SCF_SELECTION, (LPARAM)&pf);
|
||||
ok(pf.wAlignment == ES_CENTER, "got %d expected ES_CENTER\n", pf.wAlignment);
|
||||
ok(pf.wAlignment == PFA_LEFT, "got %d expected PFA_LEFT\n", pf.wAlignment);
|
||||
DestroyWindow(richedit);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user