aboutsummaryrefslogtreecommitdiffstats
path: root/prefs-int.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-25 01:47:46 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-25 01:47:46 +0000
commit38cd00fa18e457a3b5d47ed5ab87c152f3c30895 (patch)
tree2d095d84d29984e320dd22b5802d41046b26f7cc /prefs-int.h
parente7c8161a7dae332b1075729c0b18632dffda6f8e (diff)
Don't give ordinal numbers to preferences that aren't displayed.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5554 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'prefs-int.h')
-rw-r--r--prefs-int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/prefs-int.h b/prefs-int.h
index d20cd0a19d..b5227c4f4c 100644
--- a/prefs-int.h
+++ b/prefs-int.h
@@ -2,7 +2,7 @@
* Definitions for implementation of preference handling routines;
* used by "friends" of the preferences type.
*
- * $Id: prefs-int.h,v 1.5 2002/05/11 18:58:02 guy Exp $
+ * $Id: prefs-int.h,v 1.6 2002/05/25 01:47:46 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -31,7 +31,7 @@ struct pref_module {
const char *title; /* title of module (displayed in preferences notebook) */
void (*apply_cb)(void); /* routine to call when preferences applied */
GList *prefs; /* list of its preferences */
- int numprefs; /* number of preferences */
+ int numprefs; /* number of non-obsolete preferences */
gboolean prefs_changed; /* if TRUE, a preference has changed since we last checked */
gboolean obsolete; /* if TRUE, this is a module that used to
exist but no longer does */