summaryrefslogtreecommitdiff
path: root/src/XIProperties.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XIProperties.c')
-rw-r--r--src/XIProperties.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/XIProperties.c b/src/XIProperties.c
index 045cc71..0f77e58 100644
--- a/src/XIProperties.c
+++ b/src/XIProperties.c
@@ -150,6 +150,7 @@ XIChangeProperty(Display* dpy, int deviceid, Atom property, Atom type,
default:
/* BadValue will be generated */ ;
+ len = 0;
}
/* we use data instead of Data32 and friends to avoid Xlib's braindead