summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/lib/grey_scroll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/grey_scroll.c b/apps/plugins/lib/grey_scroll.c
index 4e1d507..0e88655 100644
--- a/apps/plugins/lib/grey_scroll.c
+++ b/apps/plugins/lib/grey_scroll.c
@@ -267,7 +267,7 @@ void grey_ub_scroll_up(int count)
/* Scroll down */
void grey_ub_scroll_down(int count)
{
- unsigned char *start, *dst, *src;
+ unsigned char *start, *dst;
int blank;
if ((unsigned)count >= (unsigned)_grey_info.height)
@@ -282,7 +282,7 @@ void grey_ub_scroll_down(int count)
if (count & _GREY_BMASK)
{
/* Scrolling by fractional blocks - move pixel wise. */
- unsigned char *line_end;
+ unsigned char *src, *line_end;
int ys, yd;
yd = _grey_info.height - 1;