Fixed crash of the Time Preflet in case localization catalog for current

system Locale persists. Pointed by Diver. Thanx!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40271 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Siarzhuk Zharski 2011-01-22 22:12:21 +00:00
parent 2dfee1f79a
commit a5237f5fc6
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ TimeZoneView::_BuildZoneMenu()
BString region(zoneID, slashPos);
if (region == B_TRANSLATE("Etc"))
if (region == "Etc")
region = kOtherRegion;
else if (countryName.Length() == 0) {
// skip global timezones from other regions, we are just