]> git.proxmox.com Git - grub2.git/commitdiff
Fix scrollbar height
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 9 Jan 2010 10:48:38 +0000 (11:48 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 9 Jan 2010 10:48:38 +0000 (11:48 +0100)
gfxmenu/gui_list.c

index 8377bf4bb10a52d541f6da330a5110bfe3d1da5a..a78339385293e3b1b494c1990be493db0f067560 100644 (file)
@@ -330,7 +330,7 @@ list_paint (void *vself, const grub_video_rect_t *region)
                      self->bounds.width - box_right_pad
                      + self->scrollbar_width,
                      box_top_pad + self->item_padding,
-                     content_rect.height - box_top_pad - box_bottom_pad);
+                     self->bounds.height - box_top_pad - box_bottom_pad);
   }
 
   grub_gui_restore_viewport (&vpsave);