summaryrefslogtreecommitdiff
path: root/epan/prefs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-12-26 22:34:09 +0000
committerGuy Harris <guy@alum.mit.edu>2012-12-26 22:34:09 +0000
commit7df01d368e412e918a4c7a494ea8cb8a5bb64e9f (patch)
tree8a617a207dc8137732f44d0606f93286c5bbb51c /epan/prefs.c
parentab638bb6fcb5171dcfafea6c17e3e6c464f65e05 (diff)
downloadwireshark-7df01d368e412e918a4c7a494ea8cb8a5bb64e9f.tar.gz
Update a comment.
svn path=/trunk/; revision=46799
Diffstat (limited to 'epan/prefs.c')
-rw-r--r--epan/prefs.c6
1 files 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: