summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-07 21:55:16 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-07 21:55:16 +0000
commit7e820ce03b73b1fd1620c810afb2c9a3c8e3fda9 (patch)
treec063eccd1f7f19020f6867c5adb8d7b75aa42620
parentb4ee6ba758d5582b6b6eb69c4cf4beaa955c5cf1 (diff)
downloadnuttx-7e820ce03b73b1fd1620c810afb2c9a3c8e3fda9.tar.gz
nuttx-7e820ce03b73b1fd1620c810afb2c9a3c8e3fda9.tar.bz2
nuttx-7e820ce03b73b1fd1620c810afb2c9a3c8e3fda9.zip
Fix some typos in comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3752 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--apps/examples/nx/Makefile2
-rw-r--r--apps/examples/nx/nx_kbdin.c4
-rw-r--r--nuttx/lib/time/lib_time.c3
3 files changed, 5 insertions, 4 deletions
diff --git a/apps/examples/nx/Makefile b/apps/examples/nx/Makefile
index d0e4c0624..326edd118 100644
--- a/apps/examples/nx/Makefile
+++ b/apps/examples/nx/Makefile
@@ -1,5 +1,5 @@
############################################################################
-# apps/examples/nxflat/Makefile
+# apps/examples/nx/Makefile
#
# Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
diff --git a/apps/examples/nx/nx_kbdin.c b/apps/examples/nx/nx_kbdin.c
index fb0694272..238272533 100644
--- a/apps/examples/nx/nx_kbdin.c
+++ b/apps/examples/nx/nx_kbdin.c
@@ -116,7 +116,7 @@ static void nxeg_fillchar(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
if (src)
{
- /* Get the intersection of the redraw region and the characer bitmap */
+ /* Get the intersection of the redraw region and the character bitmap */
nxgl_rectintersect(&intersection, rect, &bm->bounds);
if (!nxgl_nullrect(&intersection))
@@ -446,7 +446,7 @@ void nxeg_tbkbdin(NXWINDOW hwnd, uint8_t nch, const uint8_t *ch, FAR void *arg)
#endif
/****************************************************************************
- * Name: nxeg_tbkbdin
+ * Name: nxeg_filltext
****************************************************************************/
void nxeg_filltext(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
diff --git a/nuttx/lib/time/lib_time.c b/nuttx/lib/time/lib_time.c
index 0ddd7993f..02853132b 100644
--- a/nuttx/lib/time/lib_time.c
+++ b/nuttx/lib/time/lib_time.c
@@ -100,8 +100,9 @@ time_t time(time_t *tloc)
{
*tloc = tp.tv_sec;
}
+
return tp.tv_sec;
- }
+ }
return (time_t)ERROR;
}