Revert "Fix access to system catalog strings."
This reverts commit 6d2186615f.
This commit is contained in:
@@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user