Changeset 08b5601 in mainline
- Timestamp:
- 2009-03-24T15:14:02Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 10d73d8
- Parents:
- e560ae8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/printf/vsnprintf.c
re560ae8 r08b5601 87 87 wchar_t uc = utf8_decode(str, &index, size - 1); 88 88 89 if (!utf8_encode(uc, data->dst, &data->len, data->size - 1))89 if (!utf8_encode(uc, data->dst, &data->len, data->size - 2)) 90 90 break; 91 91 … … 150 150 } 151 151 152 if (!utf8_encode(str[index], data->dst, &data->len, data->size - 1))152 if (!utf8_encode(str[index], data->dst, &data->len, data->size - 2)) 153 153 break; 154 154
Note:
See TracChangeset
for help on using the changeset viewer.