Commit 5f3f1417 authored by Jay Cotton's avatar Jay Cotton Committed by Alan Coopersmith

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

<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6618220>
parent 09df7cc5
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment