Sun bug 6618220: Xorg server core dump in xf86RandRModeRefresh(NULL)

<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6618220>
This commit is contained in:
Jay Cotton 2008-12-01 16:06:09 -08:00 committed by Alan Coopersmith
parent 09df7cc5ad
commit 5f3f14179e

View File

@ -74,7 +74,7 @@ xf86RandRGetInfo (ScreenPtr pScreen, Rotation *rotations)
*rotations = RR_Rotate_0;
for (mode = scrp->modes; ; mode = mode->next)
for (mode = scrp->modes; mode != NULL ; mode = mode->next)
{
int refresh = xf86RandRModeRefresh (mode);