summaryrefslogtreecommitdiff
path: root/src/i830_tv.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2007-03-23 01:17:58 -0700
committerKeith Packard <keithp@guitar.keithp.com>2007-03-23 01:17:58 -0700
commit26f32ef680a19e63af4b7c8c84141fe32263f298 (patch)
treedd827927db88b89338db89e3a4a55606610dc759 /src/i830_tv.c
parentf48dc501fbf74e0ac348f0b77750016597849ef4 (diff)
Property size is in units, not bytes.
Several places were using byte lengths instead of unit lengths for properties.
Diffstat (limited to 'src/i830_tv.c')
-rw-r--r--src/i830_tv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c
index dc58cd6a..ac521c1c 100644
--- a/src/i830_tv.c
+++ b/src/i830_tv.c
@@ -1511,7 +1511,7 @@ i830_tv_create_resources(xf86OutputPtr output)
/* Set the current value of the tv_format property */
err = RRChangeOutputProperty(output->randr_output, margin_atoms[i],
XA_INTEGER, 32, PropModeReplace,
- 4, &dev_priv->margin[i],
+ 1, &dev_priv->margin[i],
FALSE, TRUE);
RRPostPendingProperty (output->randr_output, margin_atoms[i]);
if (err != 0) {