diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-08 06:32:34 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-08 06:32:34 +0300 |
commit | 06d9c2c223b345d1ac1fcb5fc9602db36572b4a7 (patch) | |
tree | bbf146c6b26e3b053ce90cc841b9ec837c1d684a /source/blender/blenlib | |
parent | c0c840cc3109577476c70ae58ed918dea26b2640 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_fileops.h | 6 | ||||
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_fileops.h b/source/blender/blenlib/BLI_fileops.h index 6f8b479dddd..04b40904187 100644 --- a/source/blender/blenlib/BLI_fileops.h +++ b/source/blender/blenlib/BLI_fileops.h @@ -149,10 +149,10 @@ eFileAttributes BLI_file_attributes(const char *path); * \{ */ /** - * Scans the contents of the directory named *dirname, and allocates and fills in an - * array of entries describing them in *filelist. + * Scans the contents of the directory named `dir`, and allocates and fills in an + * array of entries describing them in `r_filelist`. * - * \return The length of filelist array. + * \return The length of `r_filelist` array. */ unsigned int BLI_filelist_dir_contents(const char *dir, struct direntry **r_filelist); /** diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index 69ba9f7fb7b..a6f09d074e7 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -629,7 +629,7 @@ bool BLI_path_parent_dir(char *path) BLI_path_normalize(NULL, tmp); /* does all the work of normalizing the path for us */ if (!BLI_path_extension_check(tmp, parent_dir)) { - strcpy(path, tmp); /* We assume pardir is always shorter... */ + strcpy(path, tmp); /* We assume the parent directory is always shorter. */ return true; } |