summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2011-10-28 09:46:56 -0500
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-01-07 22:50:06 +0000
commitb907079596bc8600d3420c189409053b0b5016f6 (patch)
tree974c8ed152bfe9d005e6fc2fc6778fa5834455ae
parent5c35dd7be716a3464f012c92866919a3606f9beb (diff)
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 <rpavlik@iastate.edu> Reviewed-by: Colin Harrison <colin.harrison@virgin.net> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r--hw/xwin/winengine.c7
1 files 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
)
{