xfree86: use xf86AddNewOption instead of xf86addNewOption
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 10 Aug 2011 05:58:34 +0000 (15:58 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 25 Oct 2011 04:06:40 +0000 (14:06 +1000)
commitaeab26e9e1751e1e3514798fa53e9bd604b0d254
treed9fcc241c04c0391177e0d9b3ec36fa67072c5ca
parentc39c8d34282b82d73c3c69a16cf0c2816256d85b
xfree86: use xf86AddNewOption instead of xf86addNewOption

The former strdups for us. If the strdup fails we miss out on the
CorePointer option (default on anyway) and we're likely to fall over soon
anyway, so let's pretend this is the same behaviour.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
hw/xfree86/common/xf86Config.c