From b907079596bc8600d3420c189409053b0b5016f6 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 28 Oct 2011 09:46:56 -0500 Subject: hw/xwin: Clarify an if statement mixed with ifdef in winSetEngine() Use the same pattern as elsewhere so it's a bit clearer what we are checking Signed-off-by: Ryan Pavlik Reviewed-by: Colin Harrison Reviewed-by: Jon TURNEY --- hw/xwin/winengine.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/hw/xwin/winengine.c b/hw/xwin/winengine.c index e866e1ea1..752c4fe68 100644 --- a/hw/xwin/winengine.c +++ b/hw/xwin/winengine.c @@ -192,15 +192,12 @@ winSetEngine (ScreenPtr pScreen) /* ShadowGDI is the only engine that supports Multi Window Mode */ if ( -#ifdef XWIN_MULTIWINDOWEXTWM - pScreenInfo->fMWExtWM -#else FALSE +#ifdef XWIN_MULTIWINDOWEXTWM + || pScreenInfo->fMWExtWM #endif #ifdef XWIN_MULTIWINDOW || pScreenInfo->fMultiWindow -#else - || FALSE #endif ) { -- cgit v1.2.3