xf86-video-nv: src/g80_sor.c

Aaron Plattner aplattner at kemper.freedesktop.org
Wed Feb 13 10:45:12 PST 2008


 src/g80_sor.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 3f2a1898fedbada151da31fc163ae54daac0e896
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Wed Feb 13 10:43:28 2008 -0800

    [PATCH] Bug #14484: Fix G80SorSetProperty return value.
    
    Signed-off-by: Aaron Plattner <aplattner at nvidia.com>

diff --git a/src/g80_sor.c b/src/g80_sor.c
index 387b1e8..0b39005 100644
--- a/src/g80_sor.c
+++ b/src/g80_sor.c
@@ -324,7 +324,6 @@ G80SorSetProperty(xf86OutputPtr output, Atom prop, RRPropertyValuePtr val)
             return FALSE;
 
         G80CrtcSetDither(output->crtc, i, TRUE);
-        return TRUE;
     } else if(prop == properties.scale.atom) {
         const char *s;
         enum G80ScaleMode oldScale, scale;
@@ -383,10 +382,9 @@ G80SorSetProperty(xf86OutputPtr output, Atom prop, RRPropertyValuePtr val)
                 return FALSE;
             }
         }
-        return TRUE;
     }
 
-    return FALSE;
+    return TRUE;
 }
 #endif // RANDR_12_INTERFACE
 


More information about the xorg-commit mailing list