[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Linux-fbdev-users] (2.6.9-rc4|2.6.9|2.6.10-rc1) black



On 27 Oct 04 at 8:24, Antonino A. Daplas wrote:
> --- a/drivers/video/console/fbcon.c 2004-10-26 23:49:13 +08:00
> +++ b/drivers/video/console/fbcon.c 2004-10-27 08:17:19 +08:00
> @@ -1012,7 +1012,9 @@
>  
>  static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos)
>  {
> -   fbcon_putcs(vc, (const unsigned short *) &c, 1, ypos, xpos);
> +   unsigned short chr = c;

I think that you must use scr_write(c, &chr) to get it right.
                                                        Petr Vandrovec
                                                        
> +
> +   fbcon_putcs(vc, &chr, 1, ypos, xpos);
>  }
>  
>  static void fbcon_clear_margins(struct vc_data *vc, int bottom_only)
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> Linux-fbdev-users mailing list
> Linux-fbdev-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-fbdev-users
> 
> 



Reply to: