summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-10-24 11:50:54 -0700
committerEric Anholt <eric@anholt.net>2007-10-24 11:50:54 -0700
commit78aaec0ffc711742bf8ad77757ed8c15cc3f7a9f (patch)
tree20a691744aa016b73367397df3f94364f6652593
parent021265fbec9fd4ee31bdc9767c0c0453479ea22c (diff)
Fix typo in my hand-application of rglowery's patch.
-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 678d5103..ee2538ad 100644
--- a/src/i830_tv.c
+++ b/src/i830_tv.c
@@ -1453,7 +1453,7 @@ i830_tv_get_modes(xf86OutputPtr output)
mode_ptr->next = ret;
mode_ptr->prev = NULL;
if (ret != NULL)
- reg->prev = mode_ptr;
+ ret->prev = mode_ptr;
ret = mode_ptr;
}