Correct the length calculation for the value field of GetPropertyReply.
[free-sw/xcb/proto] / src / xproto.xml
index 6313da6..920285a 100644 (file)
@@ -987,7 +987,13 @@ authorization from the authors.
       <field type="CARD32" name="value_len" />
       <pad bytes="12" />
       <list type="void" name="value">
-        <fieldref>value_len</fieldref>
+       <op op="*">
+         <fieldref>value_len</fieldref>
+         <op op="/">
+           <fieldref>format</fieldref>
+           <value>8</value>
+         </op>
+       </op>
       </list>
     </reply>
   </request>