From 48926e9121b863a5719723d52e4ffdde89b1a075 Mon Sep 17 00:00:00 2001 From: Niko Kiirala Date: Thu, 4 Jan 2007 09:37:32 +0000 Subject: Fixed and disabled extra debugging routines in pixblock scaler and transformer (bzr r2126) --- src/display/pixblock-transform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/display/pixblock-transform.cpp') diff --git a/src/display/pixblock-transform.cpp b/src/display/pixblock-transform.cpp index 1a691b5a8..7aa616eb3 100644 --- a/src/display/pixblock-transform.cpp +++ b/src/display/pixblock-transform.cpp @@ -31,9 +31,9 @@ struct RGBA { */ inline void _check_index(NRPixBlock const * const pb, int const location, int const line) { - if(true) { + if(false) { int max_loc = pb->rs * (pb->area.y1 - pb->area.y0); - if (location < 0 || (location + 4) >= max_loc) + if (location < 0 || (location + 4) > max_loc) g_warning("Location %d out of bounds (0 ... %d) at line %d", location, max_loc, line); } } -- cgit v1.2.3