aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tn5250.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-tn5250.c')
-rw-r--r--epan/dissectors/packet-tn5250.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tn5250.c b/epan/dissectors/packet-tn5250.c
index bf735fd124..86e2b066f1 100644
--- a/epan/dissectors/packet-tn5250.c
+++ b/epan/dissectors/packet-tn5250.c
@@ -4707,13 +4707,13 @@ dissect_write_structured_field(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offs
offset++;
/*
* XXX - the documentation cited above says this is a
- * "4-byte EBCDIC code for the value of text pitch that is
+ * "4-byte EBCDIC code for the value of text pitch that is
* displayed on the status line". Does that mean that
* each of these entries is 5 bytes long?
*/
proto_tree_add_item(tn5250_tree, hf_tn5250_dpt_ec, tvb, offset,
- length, ENC_EBCDIC|ENC_NA);
- offset++;
+ 4, ENC_EBCDIC|ENC_NA);
+ offset += 4;
}
break;
case DEFINE_FAKE_DP_COMMAND_KEY_FUNCTION: