diff options
author | Alexander Ewering <blender@instinctive.de> | 2005-09-14 21:01:03 +0400 |
---|---|---|
committer | Alexander Ewering <blender@instinctive.de> | 2005-09-14 21:01:03 +0400 |
commit | 1c337c49f1e85fb91e2a496ca0ca66a1707d3903 (patch) | |
tree | 6c6544b9aace5ced3c04d406994fb6d02c6b385c /source/blender/blenkernel/intern/font.c | |
parent | 98bd4615b55bc66410764178148d91409bbf9ee1 (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.c | 2 |
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) |