From 64721629c3908556fcf8c9941feea1e3b961bf00 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Sat, 1 Dec 2007 16:02:37 -0800 Subject: G80Create{Dac,Sor} return pointers, not Bools. --- src/g80_dac.c | 2 +- src/g80_sor.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/g80_dac.c b/src/g80_dac.c index b155d2d..282436b 100644 --- a/src/g80_dac.c +++ b/src/g80_dac.c @@ -195,7 +195,7 @@ G80CreateDac(ScrnInfoPtr pScrn, ORNum or) char orName[5]; if(!pPriv) - return FALSE; + return NULL; snprintf(orName, 5, "VGA%i", or); output = xf86OutputCreate(pScrn, &G80DacOutputFuncs, orName); diff --git a/src/g80_sor.c b/src/g80_sor.c index e1128ef..387b1e8 100644 --- a/src/g80_sor.c +++ b/src/g80_sor.c @@ -475,7 +475,7 @@ G80CreateSor(ScrnInfoPtr pScrn, ORNum or, PanelType panelType) const xf86OutputFuncsRec *funcs; if(!pPriv) - return FALSE; + return NULL; if(panelType == LVDS) { strcpy(orName, "LVDS"); @@ -487,7 +487,7 @@ G80CreateSor(ScrnInfoPtr pScrn, ORNum or, PanelType panelType) xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Failed to find LVDS native mode\n"); xfree(pPriv); - return FALSE; + return NULL; } xf86DrvMsg(pScrn->scrnIndex, X_INFO, "%s native size %dx%d\n", -- cgit v1.2.3