/[grub]/grub2/term/i386/pc/vga.c
ViewVC logotype

Diff of /grub2/term/i386/pc/vga.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by marco_g, Thu Aug 4 18:10:51 2005 UTC revision 1.9 by okuji, Sat Aug 20 05:26:51 2005 UTC
# Line 472  grub_vga_putchar (grub_uint32_t c) Line 472  grub_vga_putchar (grub_uint32_t c)
472  #endif  #endif
473  }  }
474    
475    static grub_ssize_t
476    grub_vga_getcharwidth (grub_uint32_t c)
477    {
478      unsigned width;
479      
480      if (! get_vga_glyph (c, 0, &width))
481        return 0;
482    
483      return width;
484    }
485    
486  static grub_uint16_t  static grub_uint16_t
487  grub_vga_getwh (void)  grub_vga_getwh (void)
488  {  {
# Line 570  static struct grub_term grub_vga_term = Line 581  static struct grub_term grub_vga_term =
581      .init = grub_vga_init,      .init = grub_vga_init,
582      .fini = grub_vga_fini,      .fini = grub_vga_fini,
583      .putchar = grub_vga_putchar,      .putchar = grub_vga_putchar,
584        .getcharwidth = grub_vga_getcharwidth,
585      .checkkey = grub_console_checkkey,      .checkkey = grub_console_checkkey,
586      .getkey = grub_console_getkey,      .getkey = grub_console_getkey,
587      .getwh = grub_vga_getwh,      .getwh = grub_vga_getwh,

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26