mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xfree86: fix wrong usage of xf86optionListMerge
Signed-off-by: Qiang Yu <Qiang.Yu@amd.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -87,7 +87,7 @@ xf86CollectOptions(ScrnInfoPtr pScrn, XF86OptionPtr extraOpts)
|
||||
if (device && device->options) {
|
||||
tmp = xf86optionListDup(device->options);
|
||||
if (pScrn->options)
|
||||
xf86optionListMerge(pScrn->options, tmp);
|
||||
pScrn->options = xf86optionListMerge(pScrn->options, tmp);
|
||||
else
|
||||
pScrn->options = tmp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user