summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-01-16 08:18:14 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-01-16 08:18:14 +0000
commit35677cbc54bbe400ebbff59b489dda7ca7f04916 (patch)
treebfff2d9e6f018976ae503bfcb78fca28c41f1e00
parent090535fcbde7cf43d77d43cdc439249d706cb23c (diff)
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
-rw-r--r--apps/plugins/pictureflow.c2
1 files changed, 1 insertions, 1 deletions
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) {