Commit c21000ea authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

include/windowsx.h: Avoid a TRUE:FALSE conditional expression.

parent 792cd67b
...@@ -232,7 +232,7 @@ extern "C" { ...@@ -232,7 +232,7 @@ extern "C" {
((UINT)SendMessage((hwndCtl), BM_SETSTATE, (WPARAM)(int)(state), 0L)) ((UINT)SendMessage((hwndCtl), BM_SETSTATE, (WPARAM)(int)(state), 0L))
#define Button_SetStyle(hwndCtl, style, fRedraw) \ #define Button_SetStyle(hwndCtl, style, fRedraw) \
((void)SendMessage((hwndCtl), BM_SETSTYLE, (WPARAM)LOWORD(style), MAKELPARAM(((fRedraw) ? TRUE : FALSE), 0))) ((void)SendMessage((hwndCtl), BM_SETSTYLE, (WPARAM)LOWORD(style), MAKELPARAM((fRedraw) != 0, 0)))
#define Button_SetText(hwndCtl, lpsz) \ #define Button_SetText(hwndCtl, lpsz) \
SetWindowText((hwndCtl), (lpsz)) SetWindowText((hwndCtl), (lpsz))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment