Alexandre Julliard : riched20/tests: Print full flag values in traces.
Module: wine Branch: master Commit: 488e3d70a6b026601cdb66c4e7f8bc584efb820a URL: http://source.winehq.org/git/wine.git/?a=commit;h=488e3d70a6b026601cdb66c4e7... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Mar 30 19:48:08 2015 +0900 riched20/tests: Print full flag values in traces. --- dlls/riched20/tests/editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c index b15f16f..151fcba 100644 --- a/dlls/riched20/tests/editor.c +++ b/dlls/riched20/tests/editor.c @@ -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); }
participants (1)
-
Alexandre Julliard