summaryrefslogtreecommitdiff
path: root/apps/examples/nximage/nximage_bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nximage/nximage_bitmap.c')
-rw-r--r--apps/examples/nximage/nximage_bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/nximage/nximage_bitmap.c b/apps/examples/nximage/nximage_bitmap.c
index 7e8285e31..287592430 100644
--- a/apps/examples/nximage/nximage_bitmap.c
+++ b/apps/examples/nximage/nximage_bitmap.c
@@ -1238,7 +1238,7 @@ void nximage_blitrow(FAR nxgl_mxpixel_t *run, FAR const void **state)
last = nximage_bgcolor();
#endif
- for (width = 0; width < IMAGE_WIDTH; pos++)
+ for (width = 0; width < SCALED_WIDTH; pos++)
{
nrun = (unsigned int)pos->npix;
color = g_rgblut[pos->code];