summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/libnxwidgets')
-rw-r--r--NxWidgets/libnxwidgets/include/cimage.hxx2
-rw-r--r--NxWidgets/libnxwidgets/src/cimage.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/NxWidgets/libnxwidgets/include/cimage.hxx b/NxWidgets/libnxwidgets/include/cimage.hxx
index fa87b3f9c..47f4d557f 100644
--- a/NxWidgets/libnxwidgets/include/cimage.hxx
+++ b/NxWidgets/libnxwidgets/include/cimage.hxx
@@ -141,7 +141,7 @@ namespace NXWidgets
public:
/**
- * Constructor for a label containing a string.
+ * Constructor for an image.
*
* @param pWidgetControl The controlling widget for the display
* @param x The x coordinate of the image box, relative to its parent.
diff --git a/NxWidgets/libnxwidgets/src/cimage.cxx b/NxWidgets/libnxwidgets/src/cimage.cxx
index b57857e66..5e46b801b 100644
--- a/NxWidgets/libnxwidgets/src/cimage.cxx
+++ b/NxWidgets/libnxwidgets/src/cimage.cxx
@@ -168,7 +168,7 @@ void CImage::drawContents(CGraphicsPort *port)
FAR nxwidget_pixel_t *buffer = new nxwidget_pixel_t[rect.getWidth()];
- // Set up a simple bitmap structure to describe on row
+ // Set up a simple bitmap structure to describe one row
struct SBitmap bitmap;
bitmap.bpp = m_bitmap->getBitsPerPixel();