summaryrefslogtreecommitdiff
path: root/apps/examples/nxtext
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
commit43ec94a665e13552402ff4f102e0f65f6792cf29 (patch)
tree05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/examples/nxtext
parent70b6bb22af51defd713adfd452309f32f0e523aa (diff)
downloadnuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz
nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2
nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip
More trailing whilespace removal
Diffstat (limited to 'apps/examples/nxtext')
-rw-r--r--apps/examples/nxtext/Makefile2
-rw-r--r--apps/examples/nxtext/nxtext_bkgd.c2
-rw-r--r--apps/examples/nxtext/nxtext_main.c2
-rw-r--r--apps/examples/nxtext/nxtext_popup.c2
-rw-r--r--apps/examples/nxtext/nxtext_putc.c6
5 files changed, 7 insertions, 7 deletions
diff --git a/apps/examples/nxtext/Makefile b/apps/examples/nxtext/Makefile
index cabae0520..4091c577b 100644
--- a/apps/examples/nxtext/Makefile
+++ b/apps/examples/nxtext/Makefile
@@ -72,7 +72,7 @@ STACKSIZE = 2048
# Common build
-VPATH =
+VPATH =
all: .built
.PHONY: context clean depend distclean
diff --git a/apps/examples/nxtext/nxtext_bkgd.c b/apps/examples/nxtext/nxtext_bkgd.c
index 7817bf441..2d65cbeae 100644
--- a/apps/examples/nxtext/nxtext_bkgd.c
+++ b/apps/examples/nxtext/nxtext_bkgd.c
@@ -329,7 +329,7 @@ static inline void nxbg_scroll(NXWINDOW hwnd, int lineheight)
bm->pos.y -= lineheight;
/* We are keeping this one so increment to the next character */
-
+
i++;
}
}
diff --git a/apps/examples/nxtext/nxtext_main.c b/apps/examples/nxtext/nxtext_main.c
index 9bb94dcb8..9aa2a810e 100644
--- a/apps/examples/nxtext/nxtext_main.c
+++ b/apps/examples/nxtext/nxtext_main.c
@@ -455,7 +455,7 @@ int nxtext_main(int argc, char **argv)
else if (popcnt == 5)
{
/* Destroy the pop-up window and restart the sequence */
-
+
message("nxtext_main: Close pop-up\n");
(void)nxpu_close(hwnd);
popcnt = 0;
diff --git a/apps/examples/nxtext/nxtext_popup.c b/apps/examples/nxtext/nxtext_popup.c
index 4faaf3a35..f708292e5 100644
--- a/apps/examples/nxtext/nxtext_popup.c
+++ b/apps/examples/nxtext/nxtext_popup.c
@@ -137,7 +137,7 @@ static fb_coord_t nxpu_randpos(fb_coord_t value)
{
ndx = 0;
}
-
+
return (fb_coord_t)(((uint32_t)value * (uint32_t)rand8) >> 8);
}
diff --git a/apps/examples/nxtext/nxtext_putc.c b/apps/examples/nxtext/nxtext_putc.c
index 13a441115..9bfc28f2c 100644
--- a/apps/examples/nxtext/nxtext_putc.c
+++ b/apps/examples/nxtext/nxtext_putc.c
@@ -128,7 +128,7 @@ nxtext_allocglyph(FAR struct nxtext_state_s *st)
* track of the least used glyph as well. We need that if we have to replace
* a glyph in the cache.
*/
-
+
for (i = 0; i < st->maxglyphs; i++)
{
/* Is this glyph in use? */
@@ -153,7 +153,7 @@ nxtext_allocglyph(FAR struct nxtext_state_s *st)
/* If we get here, the glyph cache is full. We replace the least used
* glyph with the one we need now. (luglyph can't be NULL).
*/
-
+
luusecnt = luglyph->usecnt;
nxtext_freeglyph(luglyph);
@@ -164,7 +164,7 @@ nxtext_allocglyph(FAR struct nxtext_state_s *st)
if (luusecnt > 1)
{
uint8_t decr = luusecnt - 1;
-
+
for (i = 0; i < st->maxglyphs; i++)
{
/* Is this glyph in use? */