From: Peter Hutterer Date: Tue, 26 May 2009 21:33:31 +0000 (+1000) Subject: Print empty properties as . X-Git-Url: https://diplodocus.org/git/xorg-xinput/commitdiff_plain/5ad5edc65e55fe4be63ba31acec4bc1fca96e81b?ds=inline Print empty properties as . --- diff --git a/src/property.c b/src/property.c index 86c1608..32609f3 100644 --- a/src/property.c +++ b/src/property.c @@ -72,6 +72,9 @@ print_property(Display *dpy, XDevice* dev, Atom property) ptr = data; + if (nitems == 0) + printf(""); + switch(act_format) { case 8: size = sizeof(char); break;