Fixed some typos and mispellings (#5381)

Specifically "occured" -> "occurred"
This commit is contained in:
Connor O'Connor
2025-12-02 16:48:06 -05:00
committed by GitHub
parent ed5da45203
commit 1bbc8682f4
6 changed files with 7 additions and 7 deletions

View File

@@ -4308,7 +4308,7 @@ const char *TextFormat(const char *text, ...)
int requiredByteCount = vsnprintf(currentBuffer, MAX_TEXT_BUFFER_LENGTH, text, args);
va_end(args);
// If requiredByteCount is larger than the MAX_TEXT_BUFFER_LENGTH, then overflow occured
// If requiredByteCount is larger than the MAX_TEXT_BUFFER_LENGTH, then overflow occurred
if (requiredByteCount >= MAX_TEXT_BUFFER_LENGTH)
{
// Inserting "..." at the end of the string to mark as truncated