mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-20 05:15:37 +00:00
Fixed some typos and mispellings (#5381)
Specifically "occured" -> "occurred"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user