Typo fixes in comments and variable names.

This commit is contained in:
proski 2007-12-30 08:52:06 +00:00
parent c3c20931a9
commit cc85c3c340
39 changed files with 76 additions and 76 deletions

View file

@ -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;

View file

@ -327,7 +327,7 @@ grub_video_reader_tga (struct grub_video_bitmap **bitmap,
ID from end of file, but we really don't care about that as we are
not going to support developer area & extensions at this point. */
/* Read TGA header from begining of file. */
/* Read TGA header from beginning of file. */
if (grub_file_read (file, (char*)&header, sizeof (header))
!= sizeof (header))
{
@ -440,7 +440,7 @@ grub_video_reader_tga (struct grub_video_bitmap **bitmap,
}
}
/* If there were loading proble, destroy bitmap. */
/* If there was a loading problem, destroy bitmap. */
if (grub_errno != GRUB_ERR_NONE)
{
grub_video_bitmap_destroy (*bitmap);

View file

@ -20,7 +20,7 @@
#include <grub/types.h>
#include <grub/dl.h>
/* The list of video adapters registerd to system. */
/* The list of video adapters registered to system. */
static grub_video_adapter_t grub_video_adapter_list;
/* Active video adapter. */
@ -112,7 +112,7 @@ grub_video_setup (unsigned int width, unsigned int height,
"Can't locate valid adapter for mode");
}
/* Restore back to initial mode (where applicaple). */
/* Restore back to initial mode (where applicable). */
grub_err_t
grub_video_restore (void)
{