aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.c
diff options
context:
space:
mode:
authorkraxel <kraxel>2006-08-14 19:38:05 +0000
committerkraxel <kraxel>2006-08-14 19:38:05 +0000
commitc55cef8a5746323a490c488f55303061d031e5fd (patch)
tree8c516d670fbc56311845db1b0cef7a50cb4af659 /fbi.c
parentce4746a8a815fa225010bcf268b34c56daf93beb (diff)
downloadfbida-c55cef8a5746323a490c488f55303061d031e5fd.tar.gz
make valgrind happy
Diffstat (limited to 'fbi.c')
-rw-r--r--fbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fbi.c b/fbi.c
index 8c63401..1a26119 100644
--- a/fbi.c
+++ b/fbi.c
@@ -347,7 +347,7 @@ shadow_draw_image(struct ida_image *img, int xoff, int yoff,
if (100 == weight)
shadow_clear_lines(first, last);
else
- shadow_darkify(0, fb_var.xres, first, last, 100 - weight);
+ shadow_darkify(0, fb_var.xres-1, first, last, 100 - weight);
/* offset for image data (image > screen, select visible area) */
offset = (yoff * img->i.width + xoff) * 3;