mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2025-12-20 04:40:09 +01:00
glx,xprint: place explicit padding between lists
Adjacent lists of char should not have any automatic padding added, since the alignment requirements for both are the same. Add explicit padding where it is required. Signed-off-by: Peter Harris <pharris@opentext.com>
This commit is contained in:
parent
be9c255b6b
commit
70ca65fa35
2 changed files with 6 additions and 4 deletions
|
|
@ -491,6 +491,7 @@ The patch that fixed this server bug in X.org CVS is here:
|
|||
<list type="char" name="gl_extension_string">
|
||||
<fieldref>gl_str_len</fieldref>
|
||||
</list>
|
||||
<pad align="4" />
|
||||
<list type="char" name="glx_extension_string">
|
||||
<fieldref>glx_str_len</fieldref>
|
||||
</list>
|
||||
|
|
@ -527,6 +528,7 @@ The patch that fixed this server bug in X.org CVS is here:
|
|||
<list type="char" name="gl_extension_string">
|
||||
<fieldref>gl_str_len</fieldref>
|
||||
</list>
|
||||
<pad align="4" />
|
||||
<list type="char" name="glx_extension_string">
|
||||
<fieldref>glx_str_len</fieldref>
|
||||
</list>
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ authorization from the authors.
|
|||
<list type="STRING8" name="printer_name">
|
||||
<fieldref>printerNameLen</fieldref>
|
||||
</list>
|
||||
<!-- There's some padding in here... -->
|
||||
<pad align="4" />
|
||||
<list type="STRING8" name="locale">
|
||||
<fieldref>localeLen</fieldref>
|
||||
</list>
|
||||
|
|
@ -125,7 +125,7 @@ authorization from the authors.
|
|||
<list type="STRING8" name="printerName">
|
||||
<fieldref>printerNameLen</fieldref>
|
||||
</list>
|
||||
<!-- padding -->
|
||||
<pad align="4" />
|
||||
<list type="STRING8" name="locale">
|
||||
<fieldref>localeLen</fieldref>
|
||||
</list>
|
||||
|
|
@ -177,11 +177,11 @@ authorization from the authors.
|
|||
<list type="BYTE" name="data">
|
||||
<fieldref>len_data</fieldref>
|
||||
</list>
|
||||
<!-- padding -->
|
||||
<pad align="4" />
|
||||
<list type="STRING8" name="doc_format">
|
||||
<fieldref>len_fmt</fieldref>
|
||||
</list>
|
||||
<!-- padding -->
|
||||
<pad align="4" />
|
||||
<list type="STRING8" name="options">
|
||||
<fieldref>len_options</fieldref>
|
||||
</list>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue