summaryrefslogtreecommitdiff
path: root/prefs.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@ns.aus.com>2003-12-28 21:10:26 +0000
committerRichard Sharpe <sharpe@ns.aus.com>2003-12-28 21:10:26 +0000
commit015681b24ef80bbc121edd726633bece361d2e5a (patch)
tree143bf3ff4c3411394b80407f00ec39d9aff14925 /prefs.c
parent0a44e7c1452dbd6dc8948b565b50c5fc26011c4a (diff)
downloadwireshark-015681b24ef80bbc121edd726633bece361d2e5a.tar.gz
Connect the recent_file_count_max variable to the prefs.gui_recent_file_count_max variable entry, and fix a small spelling/grammar mistake.
Now all we need is some enterprising individual to write the small amount of preferences code to actually allow it to be changed etc, but I have to go to Costco, so, later... svn path=/trunk/; revision=9463
Diffstat (limited to 'prefs.c')
-rw-r--r--prefs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/prefs.c b/prefs.c
index 80a6bb4101..f0db0c04da 100644
--- a/prefs.c
+++ b/prefs.c
@@ -1,7 +1,7 @@
/* prefs.c
* Routines for handling preferences
*
- * $Id: prefs.c,v 1.115 2003/12/23 21:29:25 guy Exp $
+ * $Id: prefs.c,v 1.116 2003/12/28 21:10:26 sharpe Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -883,7 +883,7 @@ read_prefs(int *gpf_errno_return, int *gpf_read_errno_return,
if (init_prefs) {
/* Initialize preferences to wired-in default values.
- They may be overridded by the global preferences file or the
+ They may be overridden by the global preferences file or the
user's preferences file. */
init_prefs = FALSE;
prefs.pr_format = PR_FMT_TEXT;
@@ -988,6 +988,7 @@ read_prefs(int *gpf_errno_return, int *gpf_read_errno_return,
prefs.gui_geometry_main_width = DEF_WIDTH;
prefs.gui_geometry_main_height = -1;
prefs.gui_fileopen_style = FO_STYLE_LAST_OPENED;
+ prefs.gui_recent_files_count_max = 10;
prefs.gui_fileopen_dir = g_strdup("");
prefs.gui_fileopen_remembered_dir = NULL;