From dca1a3a01ec7dacb4ea323c60a38e28b76e14a2d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 23 Nov 2017 07:33:26 -0600 Subject: [PATCH] Trivial: Fix some typos in comments and debug output. --- graphics/pdcurs34/nuttx/pdcnuttx.h | 4 ++-- graphics/pdcurs34/nuttx/pdcscrn.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/graphics/pdcurs34/nuttx/pdcnuttx.h b/graphics/pdcurs34/nuttx/pdcnuttx.h index fbce20b2e..403e451b0 100644 --- a/graphics/pdcurs34/nuttx/pdcnuttx.h +++ b/graphics/pdcurs34/nuttx/pdcnuttx.h @@ -242,9 +242,9 @@ struct pdc_fbstate_s /* Font */ - NXHANDLE hfont; /* Handled uses to access selected font */ + NXHANDLE hfont; /* Handle used to access selected font */ #ifdef HAVE_BOLD_FONT - NXHANDLE hbold; /* Handled uses to access bold font */ + NXHANDLE hbold; /* Handle used to access bold font */ #endif uint8_t fheight; /* Height of the font (rows) */ uint8_t fwidth; /* Width of the font (pixels) */ diff --git a/graphics/pdcurs34/nuttx/pdcscrn.c b/graphics/pdcurs34/nuttx/pdcscrn.c index db3483fe3..103c7b04a 100644 --- a/graphics/pdcurs34/nuttx/pdcscrn.c +++ b/graphics/pdcurs34/nuttx/pdcscrn.c @@ -286,7 +286,7 @@ int PDC_scr_open(int argc, char **argv) goto errout_with_boldfont; } - PDC_LOG(("Fonset (ID=%d):\n", PDCURSES_FONTID)); + PDC_LOG(("Fontset (ID=%d):\n", PDCURSES_FONTID)); PDC_LOG((" mxheight: %u\n", fontset->mxheight)); PDC_LOG((" mxwidth: %u\n", fontset->mxwidth)); PDC_LOG((" mxbits: %u\n", fontset->mxbits));