From 7df01d368e412e918a4c7a494ea8cb8a5bb64e9f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 26 Dec 2012 22:34:09 +0000 Subject: Update a comment. svn path=/trunk/; revision=46799 --- epan/prefs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/epan/prefs.c b/epan/prefs.c index 040a0299c6..2828b86bfc 100644 --- a/epan/prefs.c +++ b/epan/prefs.c @@ -2887,10 +2887,8 @@ read_prefs_file(const char *pf_path, FILE *pf, if (isalnum(got_c)) { if (cur_var->len > 0) { if (got_val) { - /* Convert the string to a range. Since we're reading the - * preferences file, silently lower values in excess of the - * range's maximum. - */ + /* Call the routine to set the preference; it will parse + the value as appropriate. */ switch (pref_set_pair_fct(cur_var->str, cur_val->str, private_data, FALSE)) { case PREFS_SET_OK: -- cgit v1.2.1