diff options
Diffstat (limited to 'ui/gtk/mtp3_summary.c')
-rw-r--r-- | ui/gtk/mtp3_summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/mtp3_summary.c b/ui/gtk/mtp3_summary.c index 1917720449..7e2d4c93c3 100644 --- a/ui/gtk/mtp3_summary.c +++ b/ui/gtk/mtp3_summary.c @@ -339,7 +339,7 @@ mtp3_sum_gtk_sum_cb(GtkAction *action _U_, gpointer user_data _U_) g_snprintf(string_buff, SUM_STR_MAX, "Format: %s", (file_type ? file_type : "N/A")); 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); |