Fix CID-9827:

* the unarchival constructor didn't initialize some members

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39920 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2010-12-22 22:08:33 +00:00
parent aa754a906b
commit abd80e8a97
@@ -216,6 +216,10 @@ BFormattingConventions::BFormattingConventions(
BFormattingConventions::BFormattingConventions(const BMessage* archive)
:
fCachedUse24HourClock(CLOCK_HOURS_UNSET),
fExplicitUse24HourClock(CLOCK_HOURS_UNSET),
fUseStringsFromPreferredLanguage(false)
{
BString conventionsID;
status_t status = archive->FindString("conventions", &conventionsID);