diff options
-rw-r--r-- | ui/gtk/packet_list.c | 2 | ||||
-rw-r--r-- | ui/qt/packet_list.cpp | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ui/gtk/packet_list.c b/ui/gtk/packet_list.c index 6350ba74cc..5adfbb7702 100644 --- a/ui/gtk/packet_list.c +++ b/ui/gtk/packet_list.c @@ -1632,7 +1632,7 @@ packet_list_recent_write_all(FILE *rf) for (col = 0; col < num_cols; col++) { col_fmt = get_column_format(col); if (col_fmt == COL_CUSTOM) { - fprintf (rf, " %%Cus:%s,", get_column_custom_fields(col)); + fprintf (rf, " \"%%Cus:%s\",", get_column_custom_fields(col)); } else { fprintf (rf, " %s,", col_format_to_string(col_fmt)); } diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp index 2a81d446c5..e966d6deaf 100644 --- a/ui/qt/packet_list.cpp +++ b/ui/qt/packet_list.cpp @@ -604,7 +604,6 @@ void PacketList::contextMenuEvent(QContextMenuEvent *event) ctx_menu_.exec(event->globalPos()); ctx_column_ = -1; decode_as_->setData(QVariant()); - } // Auto scroll if: @@ -995,7 +994,7 @@ void PacketList::writeRecent(FILE *rf) { } col_fmt = get_column_format(col); if (col_fmt == COL_CUSTOM) { - fprintf (rf, " %%Cus:%s,", get_column_custom_fields(col)); + fprintf (rf, " \"%%Cus:%s\",", get_column_custom_fields(col)); } else { fprintf (rf, " %s,", col_format_to_string(col_fmt)); } @@ -1007,7 +1006,6 @@ void PacketList::writeRecent(FILE *rf) { } } fprintf (rf, "\n"); - } bool PacketList::contextMenuActive() |