Fix spacing.
[bertos.git] / mware / gfx.c
index 9e4c30f640a7940b71f62ace003fef1cab52ca65..05c8c82a89680acc43be19e95920ce5819e0105a 100755 (executable)
  * \author Stefano Fedrigo <aleph@develer.com>
  *
  * \brief General pourpose graphics routines
+ *
+ * \todo Rename functions to match the coding-standard.
  */
 
 /*#*
  *#* $Log$
+ *#* Revision 1.9  2004/10/21 10:58:33  bernie
+ *#* Add a TODO item.
+ *#*
+ *#* 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 +380,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;