diff options
author | Ian Romanick <[email protected]> | 2005-02-05 00:59:57 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2005-02-05 00:59:57 +0000 |
commit | a02b83115a865a58d3f0d118a6b3ad2922a0ab75 (patch) | |
tree | 97c5fffcbe01ddb936f57afa99b5813bbd64ed37 /src/mesa | |
parent | 0a755ade51be419488ba621d843de939749ad76c (diff) |
Fix some mixed spaces / tabs issues in generated code. Commit generated
files that have been trivially changed by other recent commits.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/glapi/glX_proto_send.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mesa/glapi/glX_proto_send.py b/src/mesa/glapi/glX_proto_send.py index 6ee93a5c1e6..334caf82527 100644 --- a/src/mesa/glapi/glX_proto_send.py +++ b/src/mesa/glapi/glX_proto_send.py @@ -148,19 +148,19 @@ read_reply( Display *dpy, size_t size, void * dest, GLboolean reply_is_always_ar (void) _XReply(dpy, (xReply *) & reply, 0, False); if (size != 0) { - if ((reply.length > 0) || reply_is_always_array) { - const GLint bytes = (reply_is_always_array) - ? (4 * reply.length) : (reply.size * size); - const GLint extra = 4 - (bytes & 3); - - _XRead(dpy, dest, bytes); - if ( extra < 4 ) { - _XEatData(dpy, extra); - } - } - else { - (void) memcpy( dest, &(reply.pad3), size); - } + if ((reply.length > 0) || reply_is_always_array) { + const GLint bytes = (reply_is_always_array) + ? (4 * reply.length) : (reply.size * size); + const GLint extra = 4 - (bytes & 3); + + _XRead(dpy, dest, bytes); + if ( extra < 4 ) { + _XEatData(dpy, extra); + } + } + else { + (void) memcpy( dest, &(reply.pad3), size); + } } return reply.retval; |