Changeset e1813cf in mainline for kernel/generic/src/printf/vsnprintf.c
- Timestamp:
- 2009-03-31T22:51:41Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce87a8aa
- Parents:
- b54d2f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/printf/vsnprintf.c
rb54d2f1 re1813cf 85 85 86 86 while (index < size) { 87 wchar_t uc = utf8_decode(str, &index, size);87 wchar_t uc = chr_decode(str, &index, size); 88 88 89 if (! utf8_encode(uc, data->dst, &data->len, data->size - 1))89 if (!chr_encode(uc, data->dst, &data->len, data->size - 1)) 90 90 break; 91 91 } … … 147 147 } 148 148 149 if (! utf8_encode(str[index], data->dst, &data->len, data->size - 1))149 if (!chr_encode(str[index], data->dst, &data->len, data->size - 1)) 150 150 break; 151 151
Note:
See TracChangeset
for help on using the changeset viewer.