diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-19 07:50:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-19 07:50:02 +0300 |
commit | 7decb9ad080eef002c6093581d486727836dbbf0 (patch) | |
tree | 8394bdacfa0d3eb0979e632327b31a7a66030620 /source/blender/blenkernel/intern/appdir.c | |
parent | 06c4139a68330dc74ec4e87f6b5c5f2b7a25ad74 (diff) |
Cleanup: rename BLI_appdir_fonts_* -> font
Plural name doesn't fit with textures, sounds & other paths
that may be added.
Also quiet unused warning.
Diffstat (limited to 'source/blender/blenkernel/intern/appdir.c')
-rw-r--r-- | source/blender/blenkernel/intern/appdir.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/appdir.c b/source/blender/blenkernel/intern/appdir.c index 5c4c7066d64..14a20689db0 100644 --- a/source/blender/blenkernel/intern/appdir.c +++ b/source/blender/blenkernel/intern/appdir.c @@ -1027,7 +1027,7 @@ void BKE_tempdir_session_purge(void) } /* Gets a good default directory for fonts */ -bool BKE_appdir_fonts_folder_default(char *dir) +bool BKE_appdir_font_folder_default(char *dir) { bool success = false; #ifdef WIN32 @@ -1035,6 +1035,7 @@ bool BKE_appdir_fonts_folder_default(char *dir) success = SHGetSpecialFolderPathW(0, wpath, CSIDL_FONTS, 0); BLI_strncpy_wchar_as_utf8(dir, wpath, FILE_MAXDIR); #endif - /* TODO: Values for other OSs */ + /* TODO: Values for other platforms. */ + UNUSED_VARS(dir); return success; } |