summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-10 15:29:41 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-10 15:29:41 -0600
commit8853d651e1595087556f9696d591e4dbffaf8598 (patch)
tree2dcf9ff1bb05a51ba0c14a4bb84a67840a178305 /NxWidgets/libnxwidgets
parentf07133035da47bf890e1c03d9d7fb7d69a98f1ba (diff)
downloadnuttx-8853d651e1595087556f9696d591e4dbffaf8598.tar.gz
nuttx-8853d651e1595087556f9696d591e4dbffaf8598.tar.bz2
nuttx-8853d651e1595087556f9696d591e4dbffaf8598.zip
Fixes for clean NxWM build; Updated README files
Diffstat (limited to 'NxWidgets/libnxwidgets')
-rw-r--r--NxWidgets/libnxwidgets/src/cgraphicsport.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/NxWidgets/libnxwidgets/src/cgraphicsport.cxx b/NxWidgets/libnxwidgets/src/cgraphicsport.cxx
index cbda90d6e..f128c3293 100644
--- a/NxWidgets/libnxwidgets/src/cgraphicsport.cxx
+++ b/NxWidgets/libnxwidgets/src/cgraphicsport.cxx
@@ -192,12 +192,9 @@ void CGraphicsPort::drawHorizLine(nxgl_coord_t x, nxgl_coord_t y,
nxgl_coord_t width, nxgl_mxpixel_t color)
{
FAR struct nxgl_rect_s dest;
- nxgl_coord_t halfwidth;
// Express the line as a rectangle
- halfwidth = width >> 1;
-
dest.pt1.x = x;
dest.pt1.y = y;
dest.pt2.x = x + width - 1;