http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=32967
User: morriss
Date: 2010/05/25 08:31 PM
Log:
Remember the default value of each protocol preference.
If, when we're writing the preferences file, the current value of the
preference is the same as the default, write out the preference (since the
preference file is also the documentation for the preferences) but comment it
out (so that if, for example, you go back to an older version of Wireshark
you won't get warnings about non-existant preferences that you didn't
change--and thus probably don't care too much about).
It might be interesting to, in the future, add a UI to restore the default
values.
Directory: /trunk/epan/
Changes Path Action
+7 -0 prefs-int.h Modified
+100 -75 prefs.c Modified