summaryrefslogtreecommitdiff
path: root/apps/examples/nxtext/nxtext_popup.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxtext/nxtext_popup.c')
-rw-r--r--apps/examples/nxtext/nxtext_popup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/examples/nxtext/nxtext_popup.c b/apps/examples/nxtext/nxtext_popup.c
index 252ad3358..6d4719e19 100644
--- a/apps/examples/nxtext/nxtext_popup.c
+++ b/apps/examples/nxtext/nxtext_popup.c
@@ -180,7 +180,9 @@ static inline void nxpu_fillwindow(NXWINDOW hwnd,
FAR struct nxtext_state_s *st)
{
int ret;
+#ifdef CONFIG_NX_KBD
int i;
+#endif
ret = nx_fill(hwnd, rect, st->wcolor);
if (ret < 0)