Skip to contentSkip to conversation

fbdev: fix logo drawing failure for vga16fb

PATCH In review Antonino A. Daplas 1 participant 1 message Sep 9, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 2/7 fbdev: fix logo drawing failure for vga16fb

This fixes the logo failing to draw in vga16fb due to faulty boolean logic.

---

  vga16fb.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/video/vga16fb.c +1 -1
diff -uprN linux-2.6.9-rc1-mm4-orig/drivers/video/vga16fb.c linux-2.6.9-rc1-mm4/drivers/video/vga16fb.c
@@ -1306,7 +1306,7 @@ void vga16fb_imageblit(struct fb_info *i
 {
 	if (image->depth == 1)
 		vga_imageblit_expand(info, image);
-	else if (image->depth <= info->var.bits_per_pixel)
+	else
 		vga_imageblit_color(info, image);
 }
 

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php