xf86-video-nv: src/g80_dac.c src/g80_sor.c

Aaron Plattner aplattner at kemper.freedesktop.org
Sat Dec 1 16:04:32 PST 2007


 src/g80_dac.c |    2 +-
 src/g80_sor.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 64721629c3908556fcf8c9941feea1e3b961bf00
Author: Aaron Plattner <aplattner at nvidia.com>
Date:   Sat Dec 1 16:02:37 2007 -0800

    G80Create{Dac,Sor} return pointers, not Bools.

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",


More information about the xorg-commit mailing list