aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/menus.c')
-rw-r--r--gtk/menus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/menus.c b/gtk/menus.c
index c22e271e56..bd449d5a88 100644
--- a/gtk/menus.c
+++ b/gtk/menus.c
@@ -1858,7 +1858,7 @@ menu_open_filename(gchar *cf_name)
/* open and read the capture file (this will close an existing file) */
if (cf_open(&cfile, cf_name, FALSE, &err) == CF_OK) {
- cf_read(&cfile);
+ cf_read(&cfile, FALSE);
} else {
/* the capture file apparently no longer exists; remove menu item */
/* XXX: ask user to remove item, it's maybe only a temporary problem */
@@ -1886,7 +1886,7 @@ menu_open_recent_file_cmd(GtkWidget *w)
/* open and read the capture file (this will close an existing file) */
if (cf_open(&cfile, cf_name, FALSE, &err) == CF_OK) {
- cf_read(&cfile);
+ cf_read(&cfile, FALSE);
} else {
/* the capture file apparently no longer exists; remove menu item */
/* XXX: ask user to remove item, it's maybe only a temporary problem */