diff options
author | Richard Sharpe <sharpe@ns.aus.com> | 2003-12-28 21:10:26 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@ns.aus.com> | 2003-12-28 21:10:26 +0000 |
commit | 015681b24ef80bbc121edd726633bece361d2e5a (patch) | |
tree | 143bf3ff4c3411394b80407f00ec39d9aff14925 /gtk/menu.c | |
parent | 0a44e7c1452dbd6dc8948b565b50c5fc26011c4a (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...
svn path=/trunk/; revision=9463
Diffstat (limited to 'gtk/menu.c')
-rw-r--r-- | gtk/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/menu.c b/gtk/menu.c index 12ebc7df66..94f575f8c3 100644 --- a/gtk/menu.c +++ b/gtk/menu.c @@ -1,7 +1,7 @@ /* menu.c * Menu routines * - * $Id: menu.c,v 1.128 2003/12/17 22:13:07 guy Exp $ + * $Id: menu.c,v 1.129 2003/12/28 21:10:26 sharpe Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -741,7 +741,7 @@ add_menu_recent_capture_file_absolute(gchar *cf_name) { /* if this element string is already in the list, or * this element is above maximum count (too old), remove it */ if (strncmp(widget_cf_name, cf_name, 1000) == 0 || - cnt >= recent_files_count_max) { + cnt >= prefs.gui_recent_files_count_max) { remove_menu_recent_capture_file(li->data); cnt--; } |