diff options
Diffstat (limited to 'source/blender/ftfont')
-rw-r--r-- | source/blender/ftfont/intern/FTF_TTFont.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/ftfont/intern/FTF_TTFont.cpp b/source/blender/ftfont/intern/FTF_TTFont.cpp index f9fed8d2ea1..5562b9403a4 100644 --- a/source/blender/ftfont/intern/FTF_TTFont.cpp +++ b/source/blender/ftfont/intern/FTF_TTFont.cpp @@ -118,9 +118,7 @@ FTF_TTFont::FTF_TTFont(void) if(BLI_exist(messagepath) == NULL) { // locale not in home dir #ifdef WIN32 - /* message catalogs are stored in the installation dir */ - BLI_getInstallationDir(messagepath); - strcat(messagepath, "/.blender/locale"); + BLI_make_file_string("/", messagepath, BLI_gethome(), "/locale"); if(BLI_exist(messagepath) == NULL) { #endif #ifdef __APPLE__ |