Author: siarzhuk Date: 2011-01-22 23:12:21 +0100 (Sat, 22 Jan 2011) New Revision: 40271 Changeset: http://dev.haiku-os.org/changeset/40271 Modified: haiku/trunk/src/preferences/time/ZoneView.cpp Log: Fixed crash of the Time Preflet in case localization catalog for current system Locale persists. Pointed by Diver. Thanx! Modified: haiku/trunk/src/preferences/time/ZoneView.cpp =================================================================== --- haiku/trunk/src/preferences/time/ZoneView.cpp 2011-01-22 21:49:08 UTC (rev 40270) +++ haiku/trunk/src/preferences/time/ZoneView.cpp 2011-01-22 22:12:21 UTC (rev 40271) @@ -336,7 +336,7 @@ 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