diff options
author | Robert Ancell <robert.ancell@gmail.com> | 2012-01-11 17:06:36 +0100 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2012-01-11 17:07:10 +0100 |
commit | 9efd2ac87b9eca51d07173cf33d48f4d3b77509e (patch) | |
tree | a8a950f3684fffa33dd62db3e510593d85605b04 | |
parent | 08eb095955b1ea6a23df268a38b434f403a10229 (diff) |
Fix SetFontPath path string encoding
SetFontPath doesn't encode the path strings correctly - it should be the
same as the GetFontPath reply.
Fixes #43602
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r-- | src/xproto.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xproto.xml b/src/xproto.xml index 7b307b7..057d542 100644 --- a/src/xproto.xml +++ b/src/xproto.xml @@ -1482,7 +1482,10 @@ authorization from the authors. <request name="SetFontPath" opcode="51"> <pad bytes="1" /> <field type="CARD16" name="font_qty" /> - <list type="char" name="path" /> + <pad bytes="2" /> + <list type="STR" name="path"> + <fieldref>path_len</fieldref> + </list> </request> <request name="GetFontPath" opcode="52"> |