summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/src/cnxwidget.cxx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-16 19:20:44 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-16 19:20:44 -0600
commit8397d6ca465653b01dd5bee7533e0573f5f6ce9a (patch)
tree4a3206546e9e9860e7d324f3b6b04d901e858b61 /NxWidgets/libnxwidgets/src/cnxwidget.cxx
parent3889dd0fd47a5ebaeb8886b31f354c718bfcfdb0 (diff)
downloadnuttx-8397d6ca465653b01dd5bee7533e0573f5f6ce9a.tar.gz
nuttx-8397d6ca465653b01dd5bee7533e0573f5f6ce9a.tar.bz2
nuttx-8397d6ca465653b01dd5bee7533e0573f5f6ce9a.zip
Misc changes related to MediaPlayer. Nothing really significant
Diffstat (limited to 'NxWidgets/libnxwidgets/src/cnxwidget.cxx')
-rw-r--r--NxWidgets/libnxwidgets/src/cnxwidget.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/NxWidgets/libnxwidgets/src/cnxwidget.cxx b/NxWidgets/libnxwidgets/src/cnxwidget.cxx
index 99f7014cc..c0c406dde 100644
--- a/NxWidgets/libnxwidgets/src/cnxwidget.cxx
+++ b/NxWidgets/libnxwidgets/src/cnxwidget.cxx
@@ -100,7 +100,7 @@ using namespace NXWidgets;
/**
* Constructor.
*
- * @param pWidgetControl The controllwing widget for the display
+ * @param pWidgetControl The controlling widget for the display
* @param x The x coordinate of the widget.
* @param y The y coordinate of the widget.
* @param width The width of the widget.
@@ -831,9 +831,9 @@ bool CNxWidget::release(nxgl_coord_t x, nxgl_coord_t y)
bool CNxWidget::drag(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t vX, nxgl_coord_t vY)
{
- if ((isEnabled()) && (m_flags.dragging))
+ if (isEnabled() && m_flags.dragging)
{
- if ((vX != 0) || (vY != 0))
+ if (vX != 0 || vY != 0)
{
onDrag(x, y, vX, vY);
m_widgetEventHandlers->raiseDragEvent(x, y, vX, vY);