mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-5787 Fix for i5/OS
X-SVN-Rev: 22292
This commit is contained in:
parent
45119f09a5
commit
790e49dca8
1 changed files with 2 additions and 2 deletions
|
@ -358,11 +358,11 @@ DateTimePatternGenerator::addCLDRData(const Locale& locale) {
|
|||
for (int32_t i=0; i<UDATPG_FIELD_COUNT; ++i ) {
|
||||
appendItemNames[i]=CAP_F;
|
||||
if (i<10) {
|
||||
appendItemNames[i]+=(i+0x30);
|
||||
appendItemNames[i]+=(UChar)(i+0x30);
|
||||
}
|
||||
else {
|
||||
appendItemNames[i]+=(UChar)0x31;
|
||||
appendItemNames[i]+=(i-10 + 0x30);
|
||||
appendItemNames[i]+=(UChar)(i-10 + 0x30);
|
||||
}
|
||||
// NUL-terminate for the C API.
|
||||
appendItemNames[i].getTerminatedBuffer();
|
||||
|
|
Loading…
Add table
Reference in a new issue