* Fix wrong function call in TimeZone.Code() leading to a localized string being returned instead of the expected code.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37790 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues 2010-07-28 14:57:46 +00:00
parent 1c99030935
commit 8b39afead5

View File

@ -39,7 +39,7 @@ void
BTimeZone::GetCode(char* buffer, int size)
{
UnicodeString unicodeName;
fICUTimeZone->getDisplayName(unicodeName);
fICUTimeZone->getID(unicodeName);
CheckedArrayByteSink converter(buffer, size);
unicodeName.toUTF8(converter);