]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fbdev: fix logo drawing failure for vga16fb
authorAntonino Daplas <adaplas@hotpop.com>
Tue, 19 Oct 2004 01:05:50 +0000 (18:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:05:50 +0000 (18:05 -0700)
This fixes the logo failing to draw in vga16fb due to faulty boolean logic.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/vga16fb.c

index 2e132fb615627c8d27ac17c66890d640be28dc13..f27524cb61c24fb7da0a463257a96d43a6ec347e 100644 (file)
@@ -1306,7 +1306,7 @@ void vga16fb_imageblit(struct fb_info *info, const struct fb_image *image)
 {
        if (image->depth == 1)
                vga_imageblit_expand(info, image);
-       else if (image->depth <= info->var.bits_per_pixel)
+       else
                vga_imageblit_color(info, image);
 }