From a5237f5fc6e62e041c83601b7227221801e2b53c Mon Sep 17 00:00:00 2001 From: Siarzhuk Zharski Date: Sat, 22 Jan 2011 22:12:21 +0000 Subject: [PATCH] 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 --- src/preferences/time/ZoneView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preferences/time/ZoneView.cpp b/src/preferences/time/ZoneView.cpp index 15abf8b6ec..cf765c0b7d 100644 --- a/src/preferences/time/ZoneView.cpp +++ b/src/preferences/time/ZoneView.cpp @@ -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