diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-23 17:54:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-23 20:55:52 +0300 |
commit | 43fa4baa6cd704f35cb2086b21d703033de4e17e (patch) | |
tree | d50f92ca1cc6b22024ed09268e0f36a8d3f9619f /source/blender/blenfont/intern/blf_lang.c | |
parent | 6308c16675fa7d5d6a3b91eb8591402c65b767d6 (diff) |
Refactor: BLI_path_util (part 2)
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
Diffstat (limited to 'source/blender/blenfont/intern/blf_lang.c')
-rw-r--r-- | source/blender/blenfont/intern/blf_lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c index 308e0819efe..10614e8ca59 100644 --- a/source/blender/blenfont/intern/blf_lang.c +++ b/source/blender/blenfont/intern/blf_lang.c @@ -80,7 +80,7 @@ static void free_locales(void) static void fill_locales(void) { - const char * const languages_path = BLI_get_folder(BLENDER_DATAFILES, "locale"); + const char * const languages_path = BKE_appdir_folder_id(BLENDER_DATAFILES, "locale"); char languages[FILE_MAX]; LinkNode *lines = NULL, *line; char *str; @@ -188,7 +188,7 @@ EnumPropertyItem *BLF_RNA_lang_enum_properties(void) void BLF_lang_init(void) { #ifdef WITH_INTERNATIONAL - const char * const messagepath = BLI_get_folder(BLENDER_DATAFILES, "locale"); + const char * const messagepath = BKE_appdir_folder_id(BLENDER_DATAFILES, "locale"); if (messagepath) { bl_locale_init(messagepath, TEXT_DOMAIN_NAME); |