aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/file_dlg.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-02 20:00:46 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-02 20:00:46 +0000
commit79ec5a3ba92e47d6d188c6ef98c47047149d0100 (patch)
tree4ba3160d4929a538076ec9bd2c55c7ec3e62a002 /gtk/file_dlg.c
parent37aa82160348e03516781bd0dd252cee3362fb0a (diff)
Get rid of "-F" - "-S" works, and has a more convenient UI.
Print a usage message if an illegal command-line flag is seen. Clean up the usage message a bit. svn path=/trunk/; revision=755
Diffstat (limited to 'gtk/file_dlg.c')
-rw-r--r--gtk/file_dlg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/file_dlg.c b/gtk/file_dlg.c
index bcd3a1931a..3f2d489c83 100644
--- a/gtk/file_dlg.c
+++ b/gtk/file_dlg.c
@@ -1,7 +1,7 @@
/* file_dlg.c
* Dialog boxes for handling files
*
- * $Id: file_dlg.c,v 1.5 1999/10/02 19:24:27 guy Exp $
+ * $Id: file_dlg.c,v 1.6 1999/10/02 19:57:31 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -109,7 +109,7 @@ file_open_cmd_cb(GtkWidget *w, gpointer data) {
gtk_widget_destroy, GTK_OBJECT (file_sel));
#ifdef HAVE_LIBPCAP
- if ((sync_mode || fork_mode) && (cf.save_file != NULL))
+ if (sync_mode && (cf.save_file != NULL))
#else
if (cf.save_file != NULL)
#endif