Fixed typo in documentation.
This commit is contained in:
parent
4176049c43
commit
3bd2db53ae
2
physfs.h
2
physfs.h
|
@ -2159,7 +2159,7 @@ __EXPORT__ void PHYSFS_utf8ToUcs2(const char *src, PHYSFS_uint16 *dst,
|
||||||
*
|
*
|
||||||
* To ensure that the destination buffer is large enough for the conversion,
|
* To ensure that the destination buffer is large enough for the conversion,
|
||||||
* please allocate a buffer that is double the size of the source buffer.
|
* please allocate a buffer that is double the size of the source buffer.
|
||||||
* UTF-8 expands latin1 codepoints over 127 from to 2 bytes, so the string
|
* UTF-8 expands latin1 codepoints over 127 from 1 to 2 bytes, so the string
|
||||||
* may grow in some cases.
|
* may grow in some cases.
|
||||||
*
|
*
|
||||||
* Strings that don't fit in the destination buffer will be truncated, but
|
* Strings that don't fit in the destination buffer will be truncated, but
|
||||||
|
|
Loading…
Reference in New Issue