mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-27 14:28:47 +00:00
Fix a thinko so the code matches the comment
This commit is contained in:
@@ -481,13 +481,14 @@ fixup_video_driver_list(char **drivers)
|
||||
for (drv = drivers; drv != end; drv++) {
|
||||
if (!strcmp(*drv, "atimisc")) {
|
||||
atimisc = drv;
|
||||
for (drv = drivers; drv != end; drv++) {
|
||||
for (drv = atimisc; drv != end; drv++) {
|
||||
if (!strcmp(*drv, "ati")) {
|
||||
ati = drv;
|
||||
x = *ati; *ati = *atimisc; *atimisc = x;
|
||||
return;
|
||||
}
|
||||
}
|
||||
/* if we get here, ati was already ahead of atimisc */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user