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:
Diffstat (limited to 'source/blender/blenfont/intern/blf_glyph.c')
-rw-r--r--source/blender/blenfont/intern/blf_glyph.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenfont/intern/blf_glyph.c b/source/blender/blenfont/intern/blf_glyph.c
index b1cc4ba3084..e165012f43e 100644
--- a/source/blender/blenfont/intern/blf_glyph.c
+++ b/source/blender/blenfont/intern/blf_glyph.c
@@ -26,6 +26,11 @@
* ***** END GPL LICENSE BLOCK *****
*/
+/** \file blender/blenfont/intern/blf_glyph.c
+ * \ingroup blf
+ */
+
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -130,6 +135,8 @@ void blf_glyph_cache_clear(FontBLF *font)
}
}
}
+
+ memset(font->glyph_ascii_table, 0, sizeof(font->glyph_ascii_table));
}
void blf_glyph_cache_free(GlyphCacheBLF *gc)