TN5250: Missing break in switch (CID 280477)

fix also indent typo

Change-Id: I47ff84a6062a203e14b9dde420a1a2efd5b05fab
Reviewed-on: https://code.wireshark.org/review/6118
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Alexis La Goutte 2014-12-29 18:03:59 +01:00 committed by Michael Mann
parent 0fb4cdb36a
commit 0905202c4e
1 changed files with 3 additions and 1 deletions

View File

@ -3027,7 +3027,7 @@ dissect_wcc(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offset)
{ NULL, 0, 0, 0, 0 }
};
tn5250_add_hf_items(tn5250_tree, tvb, offset, wcc_fields);
tn5250_add_hf_items(tn5250_tree, tvb, offset, wcc_fields);
return 2;
@ -3351,6 +3351,7 @@ dissect_create_window(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offset)
switch (minor_structure) {
case CW_BORDER_PRESENTATION:
offset += tn5250_add_hf_items(tn5250_tree, tvb, offset, cwbp_fields);
break;
case CW_TITLE_FOOTER:
length = tvb_get_guint8(tvb,offset);
offset += tn5250_add_hf_items(tn5250_tree, tvb, offset, cw_tf_fields);
@ -3361,6 +3362,7 @@ dissect_create_window(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offset)
proto_tree_add_item(tn5250_tree, hf_tn5250_wdsf_cw_tf_text, tvb, offset,
(length - 6), ENC_EBCDIC|ENC_NA);
offset += (guint32)((length - 6));
break;
default:
done = 1;
break;