diff options
author | sharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-28 21:10:26 +0000 |
---|---|---|
committer | sharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-28 21:10:26 +0000 |
commit | abf212141e9c665e410212a2e53800211ca80df3 (patch) | |
tree | 143bf3ff4c3411394b80407f00ec39d9aff14925 /prefs.c | |
parent | 7f6f17d1f747920e080b7a3252413ece80830fae (diff) |
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...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9463 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'prefs.c')
-rw-r--r-- | prefs.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |