From d0baabb444818a7dbfaa59574b94786e78f134b0 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 26 May 2003 21:00:15 +0000 Subject: [PATCH] add a comment --- render2/paint.c | 1 + 1 file changed, 1 insertion(+) diff --git a/render2/paint.c b/render2/paint.c index 3490add8..aa2b9527 100644 --- a/render2/paint.c +++ b/render2/paint.c @@ -23,6 +23,7 @@ void RrPaintArea(struct RrSurface *sur, int x, int y, int w, int h) assert(inst); if (!inst) return; + /* bounds checking */ assert(x >= 0 && y >= 0); if (!(x >= 0 && y >= 0)) return; assert(x + w <= RrSurfaceWidth(sur) && y + h <= RrSurfaceHeight(sur)); -- 2.34.1