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:
parent
09df7cc5ad
commit
5f3f14179e
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user