diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-09-02 12:04:11 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-09-02 12:04:11 +0000 |
commit | 0ba0fbb3e760e7d426aa0e2fc0dab4af11708d16 (patch) | |
tree | 2c89084eaa77cea70c5abaab4ed259cc60b6b171 /apps | |
parent | 9131b169388dc1ba63a0ba24feb64acaf8a8b1cf (diff) |
Pictureflow: Fix define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22608 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index 10f9aadd07..1f93b496e4 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c @@ -1733,7 +1733,7 @@ void render_slide(struct slide_data *slide, const int alpha) #if defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE #define PIXELSTEP_Y 1 -#define LCDADDR(x, y) (&buffer[LCD_HEIGHT*(x) + (y)]) +#define LCDADDR(x, y) (&buffer[BUFFER_HEIGHT*(x) + (y)]) #else #define PIXELSTEP_Y BUFFER_WIDTH #define LCDADDR(x, y) (&buffer[(y)*BUFFER_WIDTH + (x)]) |