Module: wine Branch: master Commit: 4ac08080222c2c59c9dda09b100f0f3ac204688e URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ac08080222c2c59c9dda09b10...
Author: André Hentschel nerv@dawncrow.de Date: Mon Nov 10 21:06:26 2014 +0100
user32/tests: Clarify ok() condition (PVS-Studio).
---
dlls/user32/tests/dde.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/tests/dde.c b/dlls/user32/tests/dde.c index 3824081..b1a9391 100644 --- a/dlls/user32/tests/dde.c +++ b/dlls/user32/tests/dde.c @@ -1591,7 +1591,7 @@ static void test_dde_aw_transaction( BOOL client_unicode, BOOL server_unicode ) info.cb = sizeof(info); ret = DdeQueryConvInfo(hconv, QID_SYNC, &info); ok(ret, "wrong info size %d, DdeQueryConvInfo error %x\n", ret, DdeGetLastError(dde_inst)); - ok(info.ConvCtxt.iCodePage == client_unicode ? CP_WINUNICODE : CP_WINANSI, + ok(info.ConvCtxt.iCodePage == (client_unicode ? CP_WINUNICODE : CP_WINANSI), "wrong iCodePage %d\n", info.ConvCtxt.iCodePage); ok(!info.hConvPartner, "unexpected info.hConvPartner: %p\n", info.hConvPartner); todo_wine {