From 72ad5b91d655db2807a0e743107ddb50c2a49bd0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 15 Jun 2000 04:09:22 +0000 Subject: Fix typos in some printf formats - "+%d", not "%+d" svn path=/trunk/; revision=2069 --- packet-x11.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packet-x11.c') 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 * - * $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 @@ -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; -- cgit v1.2.3