From 35677cbc54bbe400ebbff59b489dda7ca7f04916 Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Fri, 16 Jan 2009 08:18:14 +0000 Subject: fix bug causing pictureflow to write one column past left side of screen, resulting in a stripe of rightmost slide appearing on the left side of the screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19775 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pictureflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c index 739e97c130..d06f99dfd8 100644 --- a/apps/plugins/pictureflow.c +++ b/apps/plugins/pictureflow.c @@ -1123,7 +1123,7 @@ void render_slide(struct slide_data *slide, const int alpha) } int x; - for (x = fmax(xi, 0); x <= w; x++) { + for (x = fmax(xi, 0); x < w; x++) { PFreal hity = 0; PFreal fk = rays[x]; if (sdy) { -- cgit v1.2.3