From 7bd25aa8437ec410e7a7de1b0636ba33298fc8d6 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Fri, 31 Jul 2015 19:44:34 +0100 Subject: [PATCH] hw/xwin: Return FALSE to indicate failure in winSetEngine() Return FALSE to indicate failure in winSetEngine(), if it couldn't find a drawing engine to use Signed-off-by: Jon Turney Reviewed-by: Colin Harrison --- hw/xwin/winengine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xwin/winengine.c b/hw/xwin/winengine.c index b8f8da06b..d816851e2 100644 --- a/hw/xwin/winengine.c +++ b/hw/xwin/winengine.c @@ -203,7 +203,7 @@ winSetEngine(ScreenPtr pScreen) return TRUE; } - return TRUE; + return FALSE; } /*