aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-22 13:40:28 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-22 13:40:28 +0000
commit49edba720fbbc73dbd1fa83311ae6ea098c3fae6 (patch)
treeedaf2d1c670ffb8b02579c3cd29a5b61f99007ec /epan/prefs.c
parentb7f52ad6b5ac7f3de4e585b8ea93679b5ce1fdcf (diff)
Check for custom column before using custom_field.
Store hidden columns correctly. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33288 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/prefs.c')
-rw-r--r--epan/prefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/prefs.c b/epan/prefs.c
index 55abe6ce7b..4249786f28 100644
--- a/epan/prefs.c
+++ b/epan/prefs.c
@@ -3015,7 +3015,7 @@ write_prefs(char **pf_path_return)
}
if (!cfmt->visible) {
if (strlen (cols_hidden->str)) {
- g_string_append (cols_hidden, ", ");
+ g_string_append (cols_hidden, ",");
}
g_string_append (cols_hidden, prefs_fmt);
}