aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/column.c')
-rw-r--r--epan/column.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/column.c b/epan/column.c
index e098facecf..0394b30912 100644
--- a/epan/column.c
+++ b/epan/column.c
@@ -747,21 +747,21 @@ get_custom_field_tooltip (gchar *custom_field, gint occurrence)
header_field_info *hfi = proto_registrar_get_byname(custom_field);
if (hfi == NULL) {
/* Not a valid field */
- return g_strdup_printf("Unknown Field: %s", custom_field);
+ return ws_strdup_printf("Unknown Field: %s", custom_field);
}
if (hfi->parent == -1) {
/* Protocol */
- return g_strdup_printf("%s (%s)", hfi->name, hfi->abbrev);
+ return ws_strdup_printf("%s (%s)", hfi->name, hfi->abbrev);
}
if (occurrence == 0) {
/* All occurrences */
- return g_strdup_printf("%s\n%s (%s)", proto_get_protocol_name(hfi->parent), hfi->name, hfi->abbrev);
+ return ws_strdup_printf("%s\n%s (%s)", proto_get_protocol_name(hfi->parent), hfi->name, hfi->abbrev);
}
/* One given occurrence */
- return g_strdup_printf("%s\n%s (%s#%d)", proto_get_protocol_name(hfi->parent), hfi->name, hfi->abbrev, occurrence);
+ return ws_strdup_printf("%s\n%s (%s#%d)", proto_get_protocol_name(hfi->parent), hfi->name, hfi->abbrev, occurrence);
}
gchar *