user32/tests: Allow tracing in menu test

Dmitry Timoshkov dmitry at baikal.ru
Tue Sep 22 22:54:52 CDT 2015


André Hentschel <nerv at dawncrow.de> wrote:

> +        if (winetest_debug > 1)
> +                trace("item #%u: fType %04x, fState %04x, wID %u, hSubMenu %p\n",
> +                      i, mii.fType, mii.fState, mii.wID, mii.hSubMenu);

Please use 4 spaces for indentation after 'if ()', not 8.

Also, what's the reason of this patch? There are several other similar
disabled debug traces in that file, anything special about this one?
And I'd suggest to simply replace if (0) by if (1) in the personal build
if you really need to see the traces.

-- 
Dmitry.



More information about the wine-devel mailing list