diff options
author | Søren Sandmann Pedersen <sandmann@redhat.com> | 2008-02-13 10:43:28 -0800 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-02-13 10:44:42 -0800 |
commit | 3f2a1898fedbada151da31fc163ae54daac0e896 (patch) | |
tree | b03d4f295f3b06eac8c83361728a85064e361bef | |
parent | f8b24e5c729c9d3321282b065f4ef79b177f928d (diff) |
[PATCH] Bug #14484: Fix G80SorSetProperty return value.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-rw-r--r-- | src/g80_sor.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 |