style: fix spelling in code comments and strings

This commit is contained in:
Lars Kruse 2025-05-03 06:16:30 +02:00 committed by Xiang Xiao
parent b2315e98c4
commit 3ce85ca54e
1670 changed files with 3162 additions and 2991 deletions

View file

@ -345,7 +345,7 @@ static inline void nxbe_move_pwfb(FAR struct nxbe_window_s *wnd,
/* Construct the destination bounding box in relative window
* coordinates. This derives from the source bounding box with
* an offset distination.
* an offset destination.
*/
nxgl_rectoffset(&destrect, &srcrect, offset->x, offset->y);

View file

@ -284,7 +284,7 @@ void nxbe_setsize(FAR struct nxbe_window_s *wnd,
nxgl_rectunion(&bounds, &bounds, &wnd->bounds);
/* Then redraw this window AND all windows below it. Having resized the
* window, we may have exposed previoulsy obscured portions of windows
* window, we may have exposed previously obscured portions of windows
* below this one.
*/

View file

@ -233,7 +233,7 @@ static ssize_t nxterm_write(FAR struct file *filep, FAR const char *buffer,
do
{
/* Is the character part of a VT100 escape sequnce? */
/* Is the character part of a VT100 escape sequence? */
state = nxterm_vt100(priv, ch);
switch (state)
@ -312,7 +312,7 @@ static int nxterm_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
{
/* NOTE: We don't need driver context here because the NXTERM handle
* provided within each of the NXTERM IOCTL command data. Mutual
* exclusion is similar managed by the IOCTL cmmand handler.
* exclusion is similar managed by the IOCTL command handler.
*
* This permits the IOCTL to be called in abnormal context (such as
* from boardctl())
@ -378,7 +378,7 @@ static int nxterm_unlink(FAR struct inode *inode)
*
* NOTE: We don't need driver context here because the NXTERM handle
* provided within each of the NXTERM IOCTL command data. Mutual
* exclusion is similar managed by the IOCTL cmmand handler.
* exclusion is similar managed by the IOCTL command handler.
*
* This permits the IOCTL to be called in abnormal context (such as
* from boardctl())

View file

@ -131,7 +131,7 @@ static void nxterm_fillspace(FAR struct nxterm_state_s *priv,
*
* Description:
* This is part of the nxterm_putc logic. It creates and positions a
* the character and renders (or re-uses) a glyph for font.
* the character and renders (or reuses) a glyph for font.
*
****************************************************************************/