From c17f3ad534b9650e22849ef768538fef1ec8400b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 16 Mar 2010 14:16:09 +1000 Subject: [PATCH] xsetwacom: fix wrong option parsing for --display. Reported-by: Andrew Lofthouse Signed-off-by: Peter Hutterer --- tools/xsetwacom.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c index 4076722..380c05e 100644 --- a/tools/xsetwacom.c +++ b/tools/xsetwacom.c @@ -1967,7 +1967,7 @@ int main (int argc, char **argv) {"help", 0, NULL, 0}, {"verbose", 0, NULL, 0}, {"version", 0, NULL, 0}, - {"display", 1, (int*)display, 0}, + {"display", 1, NULL, 'd'}, {"shell", 0, NULL, 0}, {"xconf", 0, NULL, 0}, {"list", 0, NULL, 0}, -- 1.6.6.1