Module: wine Branch: master Commit: 9f1f5d885c233d82dfcbccbc38981fa24a680429 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9f1f5d885c233d82dfcbccbc38...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Mar 30 19:47:44 2015 +0900
comctl32: Print full flag values in traces.
---
dlls/comctl32/rebar.c | 2 +- dlls/comctl32/tests/toolbar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c index becfe20..99069a9 100644 --- a/dlls/comctl32/rebar.c +++ b/dlls/comctl32/rebar.c @@ -1396,7 +1396,7 @@ REBAR_Layout(REBAR_INFO *infoPtr) adjcx = get_rect_cx(infoPtr, &rcAdj);
if (infoPtr->uNumBands == 0) { - TRACE("No bands - setting size to (0,%d), vert: %x\n", adjcx, infoPtr->dwStyle & CCS_VERT); + TRACE("No bands - setting size to (0,%d), style: %x\n", adjcx, infoPtr->dwStyle); infoPtr->calcSize.cx = adjcx; /* the calcSize.cy won't change for a 0 band rebar */ infoPtr->uNumRows = 0; diff --git a/dlls/comctl32/tests/toolbar.c b/dlls/comctl32/tests/toolbar.c index da21924..cdfe7dd 100644 --- a/dlls/comctl32/tests/toolbar.c +++ b/dlls/comctl32/tests/toolbar.c @@ -1917,7 +1917,7 @@ static void test_TB_GET_SET_EXTENDEDSTYLE(void) ok(style == TBSTYLE_EX_VERTICAL, "got style 0x%08x, expected 0x%08x\n", style, TBSTYLE_EX_VERTICAL); style = SendMessageA(hwnd, TB_GETSTYLE, 0, 0); todo_wine - ok(style == CCS_VERT, "got style 0x%08x, expected 0x%08x\n", style, CCS_VERT); + ok(style == CCS_VERT, "got style 0x%08x, expected CCS_VERT\n", style);
DestroyWindow(hwnd); }