riched20/tests: Print full flag values in traces.

This commit is contained in:
Alexandre Julliard 2015-03-30 19:48:08 +09:00
parent 9b6c203d8f
commit 488e3d70a6
1 changed files with 2 additions and 2 deletions

View File

@ -7615,12 +7615,12 @@ static void test_EM_SETREADONLY(void)
res = SendMessageA(richedit, EM_SETREADONLY, TRUE, 0);
ok(res == 1, "EM_SETREADONLY\n");
dwStyle = GetWindowLongA(richedit, GWL_STYLE);
ok(dwStyle & ES_READONLY, "got wrong value: 0x%x\n", dwStyle & ES_READONLY);
ok(dwStyle & ES_READONLY, "got wrong value: 0x%x\n", dwStyle);
res = SendMessageA(richedit, EM_SETREADONLY, FALSE, 0);
ok(res == 1, "EM_SETREADONLY\n");
dwStyle = GetWindowLongA(richedit, GWL_STYLE);
ok(!(dwStyle & ES_READONLY), "got wrong value: 0x%x\n", dwStyle & ES_READONLY);
ok(!(dwStyle & ES_READONLY), "got wrong value: 0x%x\n", dwStyle);
DestroyWindow(richedit);
}