summaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.cpp b/src/string.cpp
index 4f7865ada..3d0073d38 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -250,7 +250,7 @@ void str_validate(char *str, const char *last, StringValidationSettings settings
if ((settings & SVS_REPLACE_WITH_QUESTION_MARK) != 0) *dst++ = '?';
/* In case of these two special cases assume that they really
- * mean SETX/SETXY and also "eat" the paramater. If this was
+ * mean SETX/SETXY and also "eat" the parameter. If this was
* not the case the string was broken to begin with and this
* would not break much more. */
if (c == SCC_SETX) {
@@ -413,7 +413,7 @@ int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap)
}
} else if ((size_t)ret < size) {
/* The buffer is big enough for the number of
- * characers stored (excluding null), i.e.
+ * characters stored (excluding null), i.e.
* the string has been null-terminated. */
return ret;
}