[PATCH xrandr] add EOL on XA_INTEGER properties of length % 16 != 15

Alon Levy alevy at redhat.com
Wed Jun 27 03:22:44 PDT 2012


Signed-off-by: Alon Levy <alevy at redhat.com>
---
 xrandr.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/xrandr.c b/xrandr.c
index 6683ceb..7bc5eee 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -3143,6 +3143,8 @@ main (int argc, char **argv)
 			    if (k % 16 == 15)
 				printf("\n");
 			}
+                        if (k % 16 != 15)
+                            printf("\n");
 		    } else if (actual_type == XA_INTEGER &&
 			       actual_format == 32)
 		    {
-- 
1.7.10.1



More information about the xorg-devel mailing list