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:
authorSimon Clitherow <aphex@nildram.co.uk>2004-04-21 23:03:22 +0400
committerSimon Clitherow <aphex@nildram.co.uk>2004-04-21 23:03:22 +0400
commit0d0ab24e4a6e137a5c8261ad4341dd5e15b5c272 (patch)
treebd0b515f5b9ca608a0da520bc0ff6e2c1fb6c9bc /source/blender/src/language.c
parent282d0635696f3e4d0ca3a580dec94e7c696d0a65 (diff)
- zeroed out a variable before strcat()'ing! :)
- removed a rogue debug printf().
Diffstat (limited to 'source/blender/src/language.c')
-rw-r--r--source/blender/src/language.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/src/language.c b/source/blender/src/language.c
index d7a4316411b..2d31ab50164 100644
--- a/source/blender/src/language.c
+++ b/source/blender/src/language.c
@@ -237,9 +237,8 @@ void start_interface_font(void) {
strncpy(U.fontname, tstr, 255);
#elif defined (WIN32)
- strcat(tstr, BLI_gethome());
+ strcpy(tstr, BLI_gethome());
strcat(tstr, "/.bfont.ttf\0");
- printf("path: %s\n", tstr);
result = FTF_SetFont(tstr, U.fontsize);
sprintf(U.fontname, "/.bfont.ttf\0");