[Linuxwacom-devel] [PATCH] xsetwacom.c: Fix a typo preventing Rotate ccw from working

2011-03-02 Thread Timo Aaltonen
Introduced in ac821ba29a828fb9bb531243d0a226a7fe494504

Signed-off-by: Timo Aaltonen timo.aalto...@canonical.com
---
 tools/xsetwacom.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index 6713a97..fa98e3e 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -1377,7 +1377,7 @@ static void set_rotate(Display *dpy, XDevice *dev, 
param_t* param, int argc, cha
 
if (strcasecmp(argv[0], cw) == 0)
rotation = 1;
-   else if (strcasecmp(argv[0], cww) == 0)
+   else if (strcasecmp(argv[0], ccw) == 0)
rotation = 2;
else if (strcasecmp(argv[0], half) == 0)
rotation = 3;
-- 
1.7.4.1


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] [PATCH] xsetwacom.c: Fix a typo preventing Rotate ccw from working

2011-03-02 Thread Peter Hutterer
On Wed, Mar 02, 2011 at 07:09:27PM +0200, Timo Aaltonen wrote:
 Introduced in ac821ba29a828fb9bb531243d0a226a7fe494504
 
 Signed-off-by: Timo Aaltonen timo.aalto...@canonical.com
 ---
  tools/xsetwacom.c |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 
 diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
 index 6713a97..fa98e3e 100644
 --- a/tools/xsetwacom.c
 +++ b/tools/xsetwacom.c
 @@ -1377,7 +1377,7 @@ static void set_rotate(Display *dpy, XDevice *dev, 
 param_t* param, int argc, cha
  
   if (strcasecmp(argv[0], cw) == 0)
   rotation = 1;
 - else if (strcasecmp(argv[0], cww) == 0)
 + else if (strcasecmp(argv[0], ccw) == 0)
   rotation = 2;
   else if (strcasecmp(argv[0], half) == 0)
   rotation = 3;
 -- 
 1.7.4.1

merged, thanks.
 
Cheers,
  Peter

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel