[Xcb] [PATCH 2/2] Two whitespace changes in XGE-related diff.
Peter Hutterer
peter at cs.unisa.edu.au
Thu May 8 20:33:34 PDT 2008
---
src/xcb_in.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/xcb_in.c b/src/xcb_in.c
index 6fb5b6d..27ccc99 100644
--- a/src/xcb_in.c
+++ b/src/xcb_in.c
@@ -77,7 +77,7 @@ static void wake_up_next_reader(xcb_connection_t *c)
static int read_packet(xcb_connection_t *c)
{
xcb_generic_reply_t genrep;
- int length = 32,
+ int length = 32,
eventlength = 0; /* length after first 32 bytes for GenericEvents */
void *buf;
pending_reply *pend = 0;
@@ -149,7 +149,7 @@ static int read_packet(xcb_connection_t *c)
eventlength = ((xcb_ge_event_t*)&genrep)->length * 4;
}
- buf = malloc(length + eventlength +
+ buf = malloc(length + eventlength +
(genrep.response_type == XCB_REPLY ? 0 : sizeof(uint32_t)));
if(!buf)
{
--
1.5.3
More information about the Xcb
mailing list