mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-05 11:20:38 +02:00
Fix a thinko so the code matches the comment
This commit is contained in:
parent
6fcb049cd0
commit
de22d0c226
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue