Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Zandman <lzandman>2021-06-22 20:42:32 +0300
committerHarley Acheson <harley.acheson@gmail.com>2021-06-22 20:54:50 +0300
commitc317f111c16b014a02f6d8368aa6c8815a147d06 (patch)
treed02b873a8ff59fe5a69290e2cbd61cdd1788e82c /source/blender/blenlib/intern/path_util.c
parent2fcd3f0296eff296c7a4fc2b7fc02b290ea985fd (diff)
Cleanup: Spelling Mistakes
This patch fixes many minor spelling mistakes, all in comments or console output. Mostly contractions like can't, won't, don't, its/it's, etc. Differential Revision: https://developer.blender.org/D11663 Reviewed by Harley Acheson
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r--source/blender/blenlib/intern/path_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c
index e8027836ed6..f3c348b2b44 100644
--- a/source/blender/blenlib/intern/path_util.c
+++ b/source/blender/blenlib/intern/path_util.c
@@ -180,7 +180,7 @@ void BLI_path_normalize(const char *relabase, char *path)
else {
if (path[0] == '/' && path[1] == '/') {
if (path[2] == '\0') {
- return; /* path is "//" - cant clean it */
+ return; /* path is "//" - can't clean it */
}
path = path + 2; /* leave the initial "//" untouched */
}
@@ -236,7 +236,7 @@ void BLI_path_normalize(const char *relabase, char *path)
}
else {
/* support for odd paths: eg /../home/me --> /home/me
- * this is a valid path in blender but we cant handle this the usual way below
+ * this is a valid path in blender but we can't handle this the usual way below
* simply strip this prefix then evaluate the path as usual.
* pythons os.path.normpath() does this */
@@ -1646,8 +1646,8 @@ bool BLI_path_filename_ensure(char *filepath, size_t maxlen, const char *filenam
/**
* Converts `/foo/bar.txt` to `/foo/` and `bar.txt`
*
- * - Wont change \a string.
- * - Wont create any directories.
+ * - Won't change \a string.
+ * - Won't create any directories.
* - Doesn't use CWD, or deal with relative paths.
* - Only fill's in \a dir and \a file when they are non NULL.
*/