diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-18 11:38:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-18 11:38:51 +0400 |
commit | 4f19c1a995de507044d1b5ada7fb7398cdb32096 (patch) | |
tree | e46c13dd84a493177c80af0715f8f9b09c333943 /source/blender/blenlib/intern/string_utf8.c | |
parent | e56f71400060f10f73bed6b5c52fc537e5a0d617 (diff) |
spelling cleanup
Diffstat (limited to 'source/blender/blenlib/intern/string_utf8.c')
-rw-r--r-- | source/blender/blenlib/intern/string_utf8.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/string_utf8.c b/source/blender/blenlib/intern/string_utf8.c index c60df413161..55ad30ab5dd 100644 --- a/source/blender/blenlib/intern/string_utf8.c +++ b/source/blender/blenlib/intern/string_utf8.c @@ -184,7 +184,7 @@ char *BLI_strncpy_utf8(char *dst, const char *src, size_t maxncpy) { char *dst_r= dst; - /* note: currently we dont attempt to deal with invalid utf8 chars */ + /* note: currently we don't attempt to deal with invalid utf8 chars */ BLI_STR_UTF8_CPY(dst, src, maxncpy) return dst_r; @@ -210,7 +210,7 @@ char *BLI_strncat_utf8(char *dst, const char *src, size_t maxncpy) size_t BLI_strncpy_wchar_as_utf8(char *dst, const wchar_t *src, const size_t maxcpy) { size_t len = 0; - while(*src && len < maxcpy) { /* XXX can still run over the buffer because utf8 size isnt known :| */ + while(*src && len < maxcpy) { /* XXX can still run over the buffer because utf8 size isn't known :| */ len += BLI_str_utf8_from_unicode(*src++, dst+len); } @@ -284,7 +284,7 @@ size_t BLI_strncpy_wchar_from_utf8(wchar_t *dst_w, const char *src_c, const size /* copied from glib's gutf8.c */ /* note, glib uses unsigned int for unicode, best we do the same, - * though we dont typedef it - campbell */ + * though we don't typedef it - campbell */ #define UTF8_COMPUTE(Char, Mask, Len) \ if (Char < 128) { \ |