Fix regression introduced with r38322

* the chosen preferred languages weren't restored in Locale preflet

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38325 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2010-08-23 20:48:52 +00:00
parent b2c38f748a
commit 7244db260e

View File

@ -450,10 +450,10 @@ RosterData::_LoadLocaleSettings()
_SetDefaultLocale(newDefaultLocale);
_SetPreferredLanguages(&settings);
return B_OK;
}
if (status == B_OK)
status = _SetPreferredLanguages(&settings);
// Something went wrong (no settings file or invalid BMessage), so we