diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/lib/grey_scroll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/grey_scroll.c b/apps/plugins/lib/grey_scroll.c index 4e1d5070fc..0e88655c89 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) | |||
267 | /* Scroll down */ | 267 | /* Scroll down */ |
268 | void grey_ub_scroll_down(int count) | 268 | void grey_ub_scroll_down(int count) |
269 | { | 269 | { |
270 | unsigned char *start, *dst, *src; | 270 | unsigned char *start, *dst; |
271 | int blank; | 271 | int blank; |
272 | 272 | ||
273 | if ((unsigned)count >= (unsigned)_grey_info.height) | 273 | if ((unsigned)count >= (unsigned)_grey_info.height) |
@@ -282,7 +282,7 @@ void grey_ub_scroll_down(int count) | |||
282 | if (count & _GREY_BMASK) | 282 | if (count & _GREY_BMASK) |
283 | { | 283 | { |
284 | /* Scrolling by fractional blocks - move pixel wise. */ | 284 | /* Scrolling by fractional blocks - move pixel wise. */ |
285 | unsigned char *line_end; | 285 | unsigned char *src, *line_end; |
286 | int ys, yd; | 286 | int ys, yd; |
287 | 287 | ||
288 | yd = _grey_info.height - 1; | 288 | yd = _grey_info.height - 1; |