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>2013-12-28 12:04:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-28 12:06:45 +0400
commit1a91b8bd5d6ad6a2a4fa62ae7719da01741849f4 (patch)
tree2a7b13c3b34467ff0c1c770a769ace059936f233 /source/blender/blenlib/BLI_vfontdata.h
parent961d0409c89dff01fd4c2c5f9d6e0406068e7552 (diff)
Fix for 3d fonts loading the character of the string terminator.
also remove redundant call to wcslen and ensure FT_Init_FreeType runs once the font loads.
Diffstat (limited to 'source/blender/blenlib/BLI_vfontdata.h')
-rw-r--r--source/blender/blenlib/BLI_vfontdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_vfontdata.h b/source/blender/blenlib/BLI_vfontdata.h
index 9130061c53e..cb41fe488db 100644
--- a/source/blender/blenlib/BLI_vfontdata.h
+++ b/source/blender/blenlib/BLI_vfontdata.h
@@ -52,7 +52,7 @@ typedef struct VChar {
VFontData *BLI_vfontdata_from_freetypefont(struct PackedFile *pf);
-int BLI_vfontchar_from_freetypefont(struct VFont *vfont, unsigned long character);
+VChar *BLI_vfontchar_from_freetypefont(struct VFont *vfont, unsigned long character);
#endif