diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-07 05:23:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-07 05:26:23 +0300 |
commit | 0964865568802aba62737d899d6721ef5c58b63a (patch) | |
tree | 7e85df6a34a192085f94d181ba53d268bc6c1632 /source/blender/windowmanager/intern/wm_platform_support.c | |
parent | 8fb1ea857ffef370acb020f6573c165100923e1b (diff) |
Cleanup: replace BLI_make_file_string with BLI_join_dirfile where possible
Use 'BLI_join_dirfile' for joining paths that don't need to expand '//'.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_platform_support.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_platform_support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_platform_support.c b/source/blender/windowmanager/intern/wm_platform_support.c index 94eceafc59b..73ba4b550c9 100644 --- a/source/blender/windowmanager/intern/wm_platform_support.c +++ b/source/blender/windowmanager/intern/wm_platform_support.c @@ -55,7 +55,7 @@ static bool wm_platform_support_check_approval(const char *platform_support_key, if (cfgdir) { char filepath[FILE_MAX]; - BLI_make_file_string("/", filepath, cfgdir, BLENDER_PLATFORM_SUPPORT_FILE); + BLI_join_dirfile(filepath, sizeof(filepath), cfgdir, BLENDER_PLATFORM_SUPPORT_FILE); LinkNode *lines = BLI_file_read_as_lines(filepath); for (LinkNode *line_node = lines; line_node; line_node = line_node->next) { char *line = line_node->link; |