Wireshark-commits: [Wireshark-commits] rev 39777: /trunk/epan/ /trunk/epan/: prefs.c

Date: Thu, 10 Nov 2011 00:53:48 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=39777

User: guy
Date: 2011/11/09 04:53 PM

Log:
 prefs_reset() has to reset the dissector preferences to their defaults,
 as we don't save to a preferences file preference values that are equal
 to their defaults, so if you change profiles, a preference that has a
 non-default value in the old profile and a default value in the new
 profile, so that it's *not* in the preference file for the new profile,
 will not be set to the right value unless we reset all protocol
 preferences to their defaults first.

Directory: /trunk/epan/
  Changes    Path          Action
  +99 -2     prefs.c       Modified