mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Oops.. back out most of the last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4060 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -151,10 +151,10 @@ void nxbe_bitmap(FAR struct nxbe_window_s *wnd, FAR const struct nxgl_rect_s *de
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Verify that the width of the destination rectangle does not exceed the
|
/* Verify that the width of the destination rectangle does not exceed the
|
||||||
* width of the source bitmap data
|
* width of the source bitmap data (taking into account the bitmap origin)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
deststride = (((bounds.pt2.x - bounds.pt1.x + 1) * wnd->be->plane[0].pinfo.bpp + 7) >> 3);
|
deststride = (((bounds.pt2.x - origin->x + 1) * wnd->be->plane[0].pinfo.bpp + 7) >> 3);
|
||||||
if (deststride > stride)
|
if (deststride > stride)
|
||||||
{
|
{
|
||||||
gdbg("Bad dest width\n");
|
gdbg("Bad dest width\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user