aboutsummaryrefslogtreecommitdiffstats
path: root/packet-x11.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-06-15 04:09:22 +0000
committerGuy Harris <guy@alum.mit.edu>2000-06-15 04:09:22 +0000
commit72ad5b91d655db2807a0e743107ddb50c2a49bd0 (patch)
tree9439d50764ae9d29ed0aac4eba60fb3b17edce03 /packet-x11.c
parent0ab8dd8cbd69bcafc65f2a24d02f9976f8bb90be (diff)
Fix typos in some printf formats - "+%d", not "%+d"
svn path=/trunk/; revision=2069
Diffstat (limited to 'packet-x11.c')
-rw-r--r--packet-x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-x11.c b/packet-x11.c
index ec63cb2743..87eb800103 100644
--- a/packet-x11.c
+++ b/packet-x11.c
@@ -2,7 +2,7 @@
* Routines for X11 dissection
* Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
*
- * $Id: packet-x11.c,v 1.7 2000/06/15 03:48:43 gram Exp $
+ * $Id: packet-x11.c,v 1.8 2000/06/15 04:09:22 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -795,7 +795,7 @@ static void listOfArc(int hf, int length)
gint16 angle2 = VALUE16(tvb, cur_offset + 10);
proto_tree *ttt = proto_tree_add_protocol_format(tt, hf_x11_arc, tvb, cur_offset, 12,
- "arc: %dx%d%+d%+d, angle %d -> %d (%f° -> %f°)",
+ "arc: %dx%d+%d+%d, angle %d -> %d (%f° -> %f°)",
width, height, x, y, angle1, angle2,
angle1 / 64.0, angle2 / 64.0);
proto_tree_add_int(ttt, hf_x11_arc_x, tvb, cur_offset, 2, x); cur_offset += 2;
@@ -995,7 +995,7 @@ static void listOfRectangle(int hf, int length)
height = VALUE16(tvb, cur_offset + 6);
ttt = proto_tree_add_protocol_format(tt, hf_x11_rectangle, tvb, cur_offset, 8,
- "rectangle: %dx%d%+d%+d", width, height, x, y);
+ "rectangle: %dx%d+%d+%d", width, height, x, y);
proto_tree_add_int(ttt, hf_x11_rectangle_x, tvb, cur_offset, 2, x); cur_offset += 2;
proto_tree_add_int(ttt, hf_x11_rectangle_y, tvb, cur_offset, 2, y); cur_offset += 2;
proto_tree_add_uint(ttt, hf_x11_rectangle_width, tvb, cur_offset, 2, width); cur_offset += 2;