aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-02-24 15:31:29 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-02-24 15:31:29 +0000
commitb3e2991f19a91d9b9c34c5e1554bc3899be5d76a (patch)
treeb721bcff47b786da5355284e8628fa95d61aa4bd /gtk
parent29bd9c96aefb52f4d299875e0edfcabad3e996c4 (diff)
Corrected right-justification of custom boolean and framenum columns.
svn path=/trunk/; revision=24453
Diffstat (limited to 'gtk')
-rw-r--r--gtk/packet_list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/packet_list.c b/gtk/packet_list.c
index 3c476a7838..d056b4a3ea 100644
--- a/gtk/packet_list.c
+++ b/gtk/packet_list.c
@@ -580,10 +580,10 @@ packet_list_new(e_prefs *prefs)
if (cfile.cinfo.col_fmt[i] == COL_CUSTOM) {
hfi = proto_registrar_get_byname(cfile.cinfo.col_custom_field[i]);
if ((hfi != NULL) && (hfi->strings == NULL) &&
- ((hfi->display == BASE_DEC) || (hfi->display == BASE_OCT)) &&
- (IS_FT_INT(hfi->type) || IS_FT_UINT(hfi->type) ||
- (hfi->type == FT_INT64) || (hfi->type == FT_UINT64) ||
- (hfi->type == FT_BOOLEAN) || (hfi->type == FT_FRAMENUM))) {
+ ((hfi->type == FT_BOOLEAN) || (hfi->type == FT_FRAMENUM) ||
+ (((hfi->display == BASE_DEC) || (hfi->display == BASE_OCT)) &&
+ (IS_FT_INT(hfi->type) || IS_FT_UINT(hfi->type) ||
+ (hfi->type == FT_INT64) || (hfi->type == FT_UINT64))))) {
custom_right_justify = TRUE;
}
}