Fix a thinko so the code matches the comment
This commit is contained in:
parent
6fcb049cd0
commit
de22d0c226
|
@ -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 */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue