Typo fixes in comments and variable names.
This commit is contained in:
parent
c3c20931a9
commit
cc85c3c340
39 changed files with 76 additions and 76 deletions
|
@ -606,7 +606,7 @@ grub_video_vbe_set_viewport (unsigned int x, unsigned int y,
|
|||
unsigned int width, unsigned int height)
|
||||
{
|
||||
/* Make sure viewport is withing screen dimensions. If viewport was set
|
||||
to be out of the reqion, mark its size as zero. */
|
||||
to be out of the region, mark its size as zero. */
|
||||
if (x > active_mode_info.x_resolution)
|
||||
{
|
||||
x = 0;
|
||||
|
@ -766,7 +766,7 @@ grub_video_vbe_unmap_color (struct grub_video_i386_vbeblit_info * source,
|
|||
if ((mode_info->mode_type
|
||||
& GRUB_VIDEO_MODE_TYPE_INDEX_COLOR) != 0)
|
||||
{
|
||||
/* If we have out of bounds color, return trasnparent black. */
|
||||
/* If we have an out-of-bounds color, return transparent black. */
|
||||
if (color > 255)
|
||||
{
|
||||
*red = 0;
|
||||
|
@ -958,7 +958,7 @@ grub_video_vbe_blit_glyph (struct grub_font_glyph * glyph,
|
|||
return GRUB_ERR_NONE;
|
||||
}
|
||||
|
||||
/* NOTE: This function assumes that given coordiantes are within bounds of
|
||||
/* NOTE: This function assumes that given coordinates are within bounds of
|
||||
handled data. */
|
||||
static void
|
||||
common_blitter (struct grub_video_i386_vbeblit_info *target,
|
||||
|
@ -1435,7 +1435,7 @@ grub_video_vbe_create_render_target (struct grub_video_render_target **result,
|
|||
target->mode_info.bpp = 32;
|
||||
target->mode_info.bytes_per_pixel = 4;
|
||||
target->mode_info.pitch = target->mode_info.bytes_per_pixel * width;
|
||||
target->mode_info.number_of_colors = 256; /* Emulated paletted. */
|
||||
target->mode_info.number_of_colors = 256; /* Emulated palette. */
|
||||
target->mode_info.red_mask_size = 8;
|
||||
target->mode_info.red_field_pos = 0;
|
||||
target->mode_info.green_mask_size = 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue