2009-05-04 Pavel Roskin <proski@gnu.org>
* disk/ata.c: Spelling fixes. * disk/raid.c: Likewise. * disk/usbms.c: Likewise. * disk/dmraid_nvidia.c: Likewise. * kern/ieee1275/openfw.c: Likewise. * kern/ieee1275/init.c: Likewise. * kern/ieee1275/cmain.c: Likewise. * boot/i386/pc/cdboot.S: Likewise. * video/readers/png.c: Likewise. * video/i386/pc/vbe.c: Likewise. * fs/udf.c: Likewise. * fs/hfs.c: Likewise. * fs/reiserfs.c: Likewise. * efiemu/runtime/efiemu.c: Likewise. * efiemu/main.c: Likewise. * efiemu/mm.c: Likewise. * include/grub/elf.h: Likewise. * include/grub/xnu.h: Likewise. * include/grub/usbdesc.h: Likewise. * include/grub/usb.h: Likewise. * include/grub/script_sh.h: Likewise. * include/grub/lib/LzmaEnc.h: Likewise. * include/grub/efiemu/efiemu.h: Likewise. * include/grub/command.h: Likewise. * normal/menu.c: Likewise. * normal/main.c: Likewise. * normal/datetime.c: Likewise. * bus/usb/uhci.c: Likewise. * mmap/i386/uppermem.c: Likewise. * mmap/mmap.c: Likewise. * commands/acpi.c: Likewise. * commands/test.c: Likewise. * partmap/apple.c: Likewise. * font/font.c: Likewise. * loader/sparc64/ieee1275/linux.c: Likewise. * loader/macho.c: Likewise. * loader/i386/bsd_trampoline.S: Likewise. * loader/i386/bsd.c: Likewise. * loader/xnu.c: Likewise. * term/i386/pc/vesafb.c: Likewise. * term/usb_keyboard.c: Likewise. * util/resolve.c: Likewise. * util/getroot.c: Likewise.
This commit is contained in:
parent
0cfc0083de
commit
4241d2b13a
44 changed files with 130 additions and 84 deletions
|
@ -42,7 +42,7 @@ static struct grub_vbe_palette_data vga_colors[16] =
|
|||
{0x00, 0x00, 0xA8, 0x00}, // 4 = red
|
||||
{0xA8, 0x00, 0xA8, 0x00}, // 5 = magenta
|
||||
{0x00, 0x54, 0xA8, 0x00}, // 6 = brown
|
||||
{0xA8, 0xA8, 0xA8, 0x00}, // 7 = ligth gray
|
||||
{0xA8, 0xA8, 0xA8, 0x00}, // 7 = light gray
|
||||
|
||||
{0x54, 0x54, 0x54, 0x00}, // 8 = dark gray
|
||||
{0xFE, 0x54, 0x54, 0x00}, // 9 = bright blue
|
||||
|
@ -1552,7 +1552,7 @@ grub_video_vbe_delete_render_target (struct grub_video_render_target *target)
|
|||
if (! target)
|
||||
return GRUB_ERR_NONE;
|
||||
|
||||
/* TODO: Delist render target fron render target list. */
|
||||
/* TODO: Delist render target from render target list. */
|
||||
|
||||
/* If this is software render target, free it's memory. */
|
||||
if (target->is_allocated)
|
||||
|
|
|
@ -109,7 +109,7 @@ struct grub_png_data
|
|||
|
||||
grub_uint8_t *cur_rgb;
|
||||
|
||||
int cur_colume, cur_filter, first_line;
|
||||
int cur_column, cur_filter, first_line;
|
||||
};
|
||||
|
||||
static grub_uint32_t
|
||||
|
@ -265,7 +265,7 @@ grub_png_decode_image_header (struct grub_png_data *data)
|
|||
|
||||
data->raw_bytes = data->image_height * (data->image_width + 1) * data->bpp;
|
||||
|
||||
data->cur_colume = 0;
|
||||
data->cur_column = 0;
|
||||
data->first_line = 1;
|
||||
|
||||
if (grub_png_get_byte (data) != PNG_COMPRESSION_BASE)
|
||||
|
@ -522,7 +522,7 @@ grub_png_output_byte (struct grub_png_data *data, grub_uint8_t n)
|
|||
if (--data->raw_bytes < 0)
|
||||
return grub_error (GRUB_ERR_BAD_FILE_TYPE, "image size overflown");
|
||||
|
||||
if (data->cur_colume == 0)
|
||||
if (data->cur_column == 0)
|
||||
{
|
||||
if (n >= PNG_FILTER_VALUE_LAST)
|
||||
return grub_error (GRUB_ERR_BAD_FILE_TYPE, "invalid filter value");
|
||||
|
@ -532,9 +532,9 @@ grub_png_output_byte (struct grub_png_data *data, grub_uint8_t n)
|
|||
else
|
||||
*(data->cur_rgb++) = n;
|
||||
|
||||
data->cur_colume++;
|
||||
data->cur_column++;
|
||||
row_bytes = data->image_width * data->bpp;
|
||||
if (data->cur_colume == row_bytes + 1)
|
||||
if (data->cur_column == row_bytes + 1)
|
||||
{
|
||||
grub_uint8_t *blank_line = NULL;
|
||||
grub_uint8_t *cur = data->cur_rgb - row_bytes;
|
||||
|
@ -623,7 +623,7 @@ grub_png_output_byte (struct grub_png_data *data, grub_uint8_t n)
|
|||
if (blank_line)
|
||||
grub_free (blank_line);
|
||||
|
||||
data->cur_colume = 0;
|
||||
data->cur_column = 0;
|
||||
data->first_line = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue