Revert "Fix access to system catalog strings."

This reverts commit 6d2186615f.
This commit is contained in:
Oliver Tappe
2012-04-14 16:52:59 +02:00
parent 531ae0a6c0
commit ec48d27ca3
+1 -4
View File
@@ -124,10 +124,7 @@ BHashMapCatalog::GetString(const char *string, const char *context,
const char *comment) const char *comment)
{ {
CatKey key(string, context, comment); CatKey key(string, context, comment);
BString value = fCatMap.Get(key); return GetString(key);
if (value.Length() != 0)
return value.String();
return string;
} }