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:
authorAlexander Ewering <blender@instinctive.de>2005-09-14 21:01:03 +0400
committerAlexander Ewering <blender@instinctive.de>2005-09-14 21:01:03 +0400
commit1c337c49f1e85fb91e2a496ca0ca66a1707d3903 (patch)
tree6c6544b9aace5ced3c04d406994fb6d02c6b385c /source/blender/blenkernel/intern/font.c
parent98bd4615b55bc66410764178148d91409bbf9ee1 (diff)
Commented out the memset(...) in chtoutf8(), as it just assumed the buffer
was at least 16 bytes long, but wasn't always, and it gets cleared manually by all calling places anyway. Should fix crashes.
Diffstat (limited to 'source/blender/blenkernel/intern/font.c')
-rw-r--r--source/blender/blenkernel/intern/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c
index 500fed8831a..ee81ce9dddb 100644
--- a/source/blender/blenkernel/intern/font.c
+++ b/source/blender/blenkernel/intern/font.c
@@ -86,7 +86,7 @@ void
chtoutf8(unsigned long c, char *o)
{
// Variables and initialization
- memset(o, 0, 16);
+/* memset(o, 0, 16); */
// Create the utf-8 string
if (c < 0x80)