Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14682
b: refs/heads/master
c: 6d9885a
h: refs/heads/master
v: v3
  • Loading branch information
Jasper Spaans authored and Linus Torvalds committed Nov 25, 2005
1 parent 2b2f5ab commit e9e9b85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33bc227e4e48ddadcf2eacb381c19df338f0a6c8
refs/heads/master: 6d9885a8ce45cd9b7d36517ee823a480eaf95c02
6 changes: 5 additions & 1 deletion trunk/drivers/video/fbmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,13 +452,17 @@ int fb_prepare_logo(struct fb_info *info, int rotate)

/* Return if no suitable logo was found */
fb_logo.logo = fb_find_logo(depth);

if (!fb_logo.logo) {
return 0;
}

if (rotate == FB_ROTATE_UR || rotate == FB_ROTATE_UD)
yres = info->var.yres;
else
yres = info->var.xres;

if (fb_logo.logo && fb_logo.logo->height > yres) {
if (fb_logo.logo->height > yres) {
fb_logo.logo = NULL;
return 0;
}
Expand Down

0 comments on commit e9e9b85

Please sign in to comment.