aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-10-16 23:32:24 +0000
committerGuy Harris <guy@alum.mit.edu>2004-10-16 23:32:24 +0000
commit727ad67453a879a58ab46adeee058d2acbbe5c13 (patch)
tree9fe0f60bac0ddcee9a3c48d3ff0ca8003b3ca707 /epan/prefs.h
parentde1bcd5d88f4ecd85df770ef5a7a0357b539ee4f (diff)
Remove the fixed maximum number of subranges in a range_t; dynamically
allocate them to be large enough. Add checks that the numbers in the range fit in a guint32. Check the validity of a range before saving or printing, and report errors in an alert box. Clean up white space. svn path=/trunk/; revision=12320
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index f4cb4e023f..b77539c849 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -280,7 +280,7 @@ extern void prefs_register_string_preference(module_t *module, const char *name,
* Register a preference with a ranged value.
*/
extern void prefs_register_range_preference(module_t *module, const char *name,
- const char *title, const char *description, range_t *var,
+ const char *title, const char *description, range_t **var,
guint32 max_value);
/*