mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 09:39:22 +00:00
2010-02-20 Vladimir Serbinenko <phcoder@gmail.com>
* video/fb/video_fb.c (grub_video_fb_scroll): Fix a pixel size bug. Reported by: Michael Suchanek.
This commit is contained in:
1 parent
0a39de87d9
commit
42b1d18685
2 files changed
+10
-3
No files matched your search
+4
-2
@@ -1006,11 +1006,13 @@ grub_video_fb_scroll (grub_video_color_t color, int dx, int dy)
|
||||
{ \
|
||||
/* 3b. Move data downwards. */ \
|
||||
dst = (void *) grub_video_fb_get_video_ptr (&target, \
|
||||
dst_x + width - 1, \
|
||||
dst_x + width, \
|
||||
dst_y + height - 1); \
|
||||
src = (void *) grub_video_fb_get_video_ptr (&target, \
|
||||
src_x + width - 1, \
|
||||
src_x + width, \
|
||||
src_y + height - 1); \
|
||||
dst--; \
|
||||
src--; \
|
||||
for (j = 0; j < height; j++) \
|
||||
{ \
|
||||
for (i = 0; i < linelen; i++) \
|
||||
|
||||
Reference in new issue
Block a user