diff options
author | Ken Hughes <khughes@pacific.edu> | 2008-04-25 23:18:24 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2008-04-25 23:18:24 +0400 |
commit | bc18e9e2908cad1d416c101f9aa07c29fdaed7c0 (patch) | |
tree | cac2f554a27030780dfbc74917ab75b96d8d165a /source/blender/blenkernel/intern/font.c | |
parent | 2a72b986d4dc8b6bef845e5ca9bdbb6bbf0ff8f4 (diff) |
Suggestion by GSR; move "extern C" into header file, remove "_" from
utf8towchar function name.
Diffstat (limited to 'source/blender/blenkernel/intern/font.c')
-rw-r--r-- | source/blender/blenkernel/intern/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c index 4b4704d8ba8..09c93962990 100644 --- a/source/blender/blenkernel/intern/font.c +++ b/source/blender/blenkernel/intern/font.c @@ -179,7 +179,7 @@ only a single input character is consumed. */ -int utf8towchar_(wchar_t *w, char *c) +int utf8towchar(wchar_t *w, char *c) { int len=0; @@ -661,7 +661,7 @@ struct chartrans *text_to_curve(Object *ob, int mode) utf8len = utf8slen(cu->str); tmp = mem = MEM_callocN(((utf8len + 1) * sizeof(wchar_t)), "convertedmem"); - utf8towchar_(mem, cu->str); + utf8towchar(mem, cu->str); // Count the wchar_t string length slen = wcslen(mem); |