Fix loop terminatin value

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3806 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-07-21 00:57:29 +00:00
parent d419019bc0
commit 2ba9ffc823

View File

@ -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];