Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-21 15:53:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-21 15:53:29 +0400
commit5d9f1d3b9d567b71c02afa6a0f0164216ae39183 (patch)
tree9b718e97a6c2d7f44a8230890e9c4b47b55ee651 /source/blender/blenlib/BLI_string_utf8.h
parentd4f27b7bf03171799b81ef541112ac25f936615a (diff)
fix [#29337] Duplicate long shapekey names crash Blender
- added BLI_strncat_utf8. - ensure resulting strings are valid utf8.
Diffstat (limited to 'source/blender/blenlib/BLI_string_utf8.h')
-rw-r--r--source/blender/blenlib/BLI_string_utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_string_utf8.h b/source/blender/blenlib/BLI_string_utf8.h
index 69b5612b118..6eba7d5eb49 100644
--- a/source/blender/blenlib/BLI_string_utf8.h
+++ b/source/blender/blenlib/BLI_string_utf8.h
@@ -32,6 +32,7 @@ extern "C" {
#endif
char *BLI_strncpy_utf8(char *dst, const char *src, size_t maxncpy);
+char *BLI_strncat_utf8(char *dst, const char *src, size_t maxncpy);
int BLI_utf8_invalid_byte(const char *str, int length);
int BLI_utf8_invalid_strip(char *str, int length);