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

@ -1865,7 +1865,7 @@ static void ProcessKeyboard(void)
}
#endif // SUPPORT_SSH_KEYBOARD_RPI
// Initialise user input from evdev(/dev/input/event<N>)
// Initialize user input from evdev(/dev/input/event<N>)
// this means mouse, keyboard or gamepad devices
static void InitEvdevInput(void)
{
@ -1873,7 +1873,7 @@ static void InitEvdevInput(void)
DIR *directory = NULL;
struct dirent *entity = NULL;
// Initialise keyboard file descriptor
// Initialize keyboard file descriptor
platform.keyboardFd = -1;
platform.mouseFd = -1;

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

View File

@ -1524,7 +1524,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