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:
parent
0a39de87d9
commit
42b1d18685
2 changed files with 10 additions and 3 deletions
|
@ -1,4 +1,9 @@
|
||||||
2010-02-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
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.
|
||||||
|
|
||||||
|
2010-02-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
* util/grub-mkconfig.in: Export GRUB_INIT_TUNE.
|
* util/grub-mkconfig.in: Export GRUB_INIT_TUNE.
|
||||||
* util/grub.d/00_header.in: Handle GRUB_INIT_TUNE.
|
* util/grub.d/00_header.in: Handle GRUB_INIT_TUNE.
|
||||||
|
|
|
@ -1006,11 +1006,13 @@ grub_video_fb_scroll (grub_video_color_t color, int dx, int dy)
|
||||||
{ \
|
{ \
|
||||||
/* 3b. Move data downwards. */ \
|
/* 3b. Move data downwards. */ \
|
||||||
dst = (void *) grub_video_fb_get_video_ptr (&target, \
|
dst = (void *) grub_video_fb_get_video_ptr (&target, \
|
||||||
dst_x + width - 1, \
|
dst_x + width, \
|
||||||
dst_y + height - 1); \
|
dst_y + height - 1); \
|
||||||
src = (void *) grub_video_fb_get_video_ptr (&target, \
|
src = (void *) grub_video_fb_get_video_ptr (&target, \
|
||||||
src_x + width - 1, \
|
src_x + width, \
|
||||||
src_y + height - 1); \
|
src_y + height - 1); \
|
||||||
|
dst--; \
|
||||||
|
src--; \
|
||||||
for (j = 0; j < height; j++) \
|
for (j = 0; j < height; j++) \
|
||||||
{ \
|
{ \
|
||||||
for (i = 0; i < linelen; i++) \
|
for (i = 0; i < linelen; i++) \
|
||||||
|
|
Loading…
Reference in a new issue