* 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:
parent
1c99030935
commit
8b39afead5
@ -39,7 +39,7 @@ void
|
|||||||
BTimeZone::GetCode(char* buffer, int size)
|
BTimeZone::GetCode(char* buffer, int size)
|
||||||
{
|
{
|
||||||
UnicodeString unicodeName;
|
UnicodeString unicodeName;
|
||||||
fICUTimeZone->getDisplayName(unicodeName);
|
fICUTimeZone->getID(unicodeName);
|
||||||
|
|
||||||
CheckedArrayByteSink converter(buffer, size);
|
CheckedArrayByteSink converter(buffer, size);
|
||||||
unicodeName.toUTF8(converter);
|
unicodeName.toUTF8(converter);
|
||||||
|
Loading…
Reference in New Issue
Block a user