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:
parent
e473b2bc01
commit
1012510620
|
@ -87,7 +87,7 @@ xf86CollectOptions(ScrnInfoPtr pScrn, XF86OptionPtr extraOpts)
|
||||||
if (device && device->options) {
|
if (device && device->options) {
|
||||||
tmp = xf86optionListDup(device->options);
|
tmp = xf86optionListDup(device->options);
|
||||||
if (pScrn->options)
|
if (pScrn->options)
|
||||||
xf86optionListMerge(pScrn->options, tmp);
|
pScrn->options = xf86optionListMerge(pScrn->options, tmp);
|
||||||
else
|
else
|
||||||
pScrn->options = tmp;
|
pScrn->options = tmp;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue