Makes it easier to debug this way, since the #defines are all in hex too

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
 src/wcmXCommand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wcmXCommand.c b/src/wcmXCommand.c
index 6c159ac..b4c1865 100644
--- a/src/wcmXCommand.c
+++ b/src/wcmXCommand.c
@@ -419,7 +419,7 @@ static int wcmCheckActionProperty(WacomDevicePtr priv, Atom 
property, XIProperty
                int code = data[j] & AC_CODE;
                int type = data[j] & AC_TYPE;
 
-               DBG(10, priv, "Index %d == %d (type: %d, code: %d)\n", j, 
data[j], type, code);
+               DBG(10, priv, "Index %d == %d (type: 0x%x, code: %d)\n", j, 
data[j], type, code);
 
                switch(type)
                {
-- 
1.9.3


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to