diff options
Diffstat (limited to 'gtk/main_proto_draw.c')
-rw-r--r-- | gtk/main_proto_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/main_proto_draw.c b/gtk/main_proto_draw.c index f7e0da7e73..6c2724ed0b 100644 --- a/gtk/main_proto_draw.c +++ b/gtk/main_proto_draw.c @@ -1333,10 +1333,10 @@ packet_hex_print_common(GtkWidget *bv, const guint8 *pd, int len, int bstart, while (i < k) { if (i < len) { - if (encoding == CHAR_ASCII) { + if (encoding == PACKET_CHAR_ENC_CHAR_ASCII) { c = pd[i]; } - else if (encoding == CHAR_EBCDIC) { + else if (encoding == PACKET_CHAR_ENC_CHAR_EBCDIC) { c = EBCDIC_to_ASCII1(pd[i]); } else { |