aboutsummaryrefslogtreecommitdiffstats
path: root/prefs-int.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-06-16 00:58:38 +0000
committerGuy Harris <guy@alum.mit.edu>2002-06-16 00:58:38 +0000
commit3baa49d71d013a6b5fe992e64fb84d95b4653311 (patch)
tree2b14bdd25679cb80cde1898a21595a2efa5d3761 /prefs-int.h
parent3a407d9567a2443401eef9445cb1e228dd02008b (diff)
Handle the "bool" members the same way we handled the members for
enumerated values - "boolp" for pointers, "boolval" for values. svn path=/trunk/; revision=5678
Diffstat (limited to 'prefs-int.h')
-rw-r--r--prefs-int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/prefs-int.h b/prefs-int.h
index 390895d08c..fd3136c0ec 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.7 2002/06/16 00:53:17 guy Exp $
+ * $Id: prefs-int.h,v 1.8 2002/06/16 00:58:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -57,13 +57,13 @@ struct preference {
pref_type_t type; /* type of that preference */
union {
guint *uint;
- gboolean *boolean;
+ gboolean *boolp;
gint *enump;
char **string;
} varp; /* pointer to variable storing the value */
union {
guint uint;
- gboolean boolean;
+ gboolean boolval;
gint enumval;
char *string;
} saved_val; /* original value, when editing from the GUI */