From f765d60d3972665c086869260db294c173183458 Mon Sep 17 00:00:00 2001 From: bernie Date: Mon, 20 Sep 2004 03:29:22 +0000 Subject: [PATCH] Relax assertion. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@214 38d2e660-2303-0410-9eaa-f027e97ec537 --- mware/gfx.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mware/gfx.c b/mware/gfx.c index 9e4c30f6..c4feb832 100755 --- a/mware/gfx.c +++ b/mware/gfx.c @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.8 2004/09/20 03:29:22 bernie + *#* Relax assertion. + *#* *#* Revision 1.7 2004/09/14 21:01:08 bernie *#* Rename rectangle drawing functions; Unify filled/cleared implementations. *#* @@ -372,8 +375,8 @@ void gfx_SetClipRect(Bitmap *bm, coord_t minx, coord_t miny, coord_t maxx, coord ASSERT(miny < maxy); ASSERT(miny >= 0); ASSERT(minx >= 0); - ASSERT(maxx < bm->width); - ASSERT(maxy < bm->height); + ASSERT(maxx <= bm->width); + ASSERT(maxy <= bm->height); bm->cr.xmin = minx; bm->cr.ymin = miny; -- 2.25.1