From: Dana Jansens Date: Mon, 26 May 2003 21:00:15 +0000 (+0000) Subject: add a comment X-Git-Tag: gl2~109 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=d0baabb444818a7dbfaa59574b94786e78f134b0;p=dana%2Fopenbox.git add a comment --- 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));