diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-08-18 18:24:21 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-08-18 18:24:21 -0700 |
commit | c3f9b85903ec73c2e9843c837d334b0430d46b58 (patch) | |
tree | 2341ef8f9f50c386455d5c4b68e5f41646fb8747 | |
parent | 8287286a3b49120b16dfd9a327d592b416daa295 (diff) |
Correct labels for several MIT-SHM request fields
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r-- | print_shm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/print_shm.c b/print_shm.c index 66a64bd..3ec4471 100644 --- a/print_shm.c +++ b/print_shm.c @@ -50,7 +50,7 @@ MitshmQueryVersionReply (FD fd, const unsigned char *buf) PrintField(buf, 10, 2, CARD16, "minor-version"); PrintField(buf, 12, 2, CARD16, "uid"); PrintField(buf, 14, 2, CARD16, "gid"); - PrintField(buf, 16, 1, CARD8, "pxiamp-fromat"); + PrintField(buf, 16, 1, CARD8, "pixmap-format"); } void @@ -97,7 +97,7 @@ MitshmPutImage (FD fd, const unsigned char *buf) PrintField (buf, 4, 4, DRAWABLE, "drawable"); PrintField (buf, 8, 4, GCONTEXT, "gc"); PrintField (buf, 12, 2, CARD16, "total-width"); - PrintField (buf, 14, 2, CARD16, "total-width"); + PrintField (buf, 14, 2, CARD16, "total-height"); PrintField (buf, 16, 2, CARD16, "src-x"); PrintField (buf, 18, 2, CARD16, "src-y"); PrintField (buf, 20, 2, CARD16, "src-width"); @@ -131,7 +131,7 @@ MitshmGetImage (FD fd, const unsigned char *buf) PrintField (buf, 16, 4, CARD32, "planemask"); PrintField (buf, 20, 1, CARD8, "format"); PrintField (buf, 24, 4, CARD32, "shmseg"); - PrintField (buf, 28, 4, CARD32, "shmseg"); + PrintField (buf, 28, 4, CARD32, "offset"); } void |