diff options
Diffstat (limited to 'ui/gtk/gsm_map_summary.c')
-rw-r--r-- | ui/gtk/gsm_map_summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/gsm_map_summary.c b/ui/gtk/gsm_map_summary.c index 15fd6b9644..e3dcd57d7b 100644 --- a/ui/gtk/gsm_map_summary.c +++ b/ui/gtk/gsm_map_summary.c @@ -128,7 +128,7 @@ void gsm_map_stat_gtk_sum_cb(GtkAction *action _U_, gpointer user_data _U_) g_snprintf(string_buff, SUM_STR_MAX, "Format: %s", wtap_file_type_subtype_string(summary.file_type)); add_string_to_box(string_buff, file_box); - if (summary.has_snap) { + if (summary.snap != 0) { /* snapshot length */ g_snprintf(string_buff, SUM_STR_MAX, "Snapshot length: %u", summary.snap); add_string_to_box(string_buff, file_box); |