mirror of
https://github.com/X11Libre/xf86-input-mouse.git
synced 2026-03-24 01:24:06 +00:00
use XNFstrdup() instead of xnfstrdup
xnfstrdup is just an alias for XNFstrdup() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse/-/merge_requests/14>
This commit is contained in:
committed by
Alan Coopersmith
parent
832818c4a5
commit
4ef48818c8
@@ -130,7 +130,7 @@ lnxMouseMagic(InputInfoPtr pInfo)
|
||||
}
|
||||
}
|
||||
if (!realdev)
|
||||
realdev = xnfstrdup(dev);
|
||||
realdev = XNFstrdup(dev);
|
||||
else {
|
||||
/* If realdev doesn't contain a '/' then prepend "/dev/" */
|
||||
if (!strchr(realdev, '/')) {
|
||||
|
||||
Reference in New Issue
Block a user