summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/src/clistbox.cxx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-16 15:09:20 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-16 15:09:20 -0600
commit80ea5737ca7bbdb33ba3ccf37a7c919338876222 (patch)
tree373f0c5e626e16d67b552f89e778b3ac0c1e83f5 /NxWidgets/libnxwidgets/src/clistbox.cxx
parent3bc0c6e4a4fd3b45380f1d65d2b4990bac4a94ee (diff)
downloadnuttx-80ea5737ca7bbdb33ba3ccf37a7c919338876222.tar.gz
nuttx-80ea5737ca7bbdb33ba3ccf37a7c919338876222.tar.bz2
nuttx-80ea5737ca7bbdb33ba3ccf37a7c919338876222.zip
Use cstdint, etc. vs stdint.h, etc.
Diffstat (limited to 'NxWidgets/libnxwidgets/src/clistbox.cxx')
-rw-r--r--NxWidgets/libnxwidgets/src/clistbox.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/NxWidgets/libnxwidgets/src/clistbox.cxx b/NxWidgets/libnxwidgets/src/clistbox.cxx
index 8d076f3d3..1c5d1e507 100644
--- a/NxWidgets/libnxwidgets/src/clistbox.cxx
+++ b/NxWidgets/libnxwidgets/src/clistbox.cxx
@@ -462,7 +462,7 @@ void CListBox::drawContents(CGraphicsPort *port)
nxgl_coord_t clipY = rect.getY();
nxgl_coord_t clipHeight = rect.getHeight();
- // Precalc values for option draw loop
+ // Precalculate values for option draw loop
nxgl_coord_t optionHeight = getOptionHeight();
@@ -607,7 +607,7 @@ void CListBox::onClick(nxgl_coord_t x, nxgl_coord_t y)
const CListBoxDataItem *item =
(const CListBoxDataItem*)m_options.getItem(m_lastSelectedIndex);
- // Are we setting or unsetting?
+ // Are we selecting or de-selecting?
if (item->isSelected())
{