fbcon: Fix typo and bogus logic in get_default_font
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 31 Jul 2007 07:37:36 +0000 (00:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:37 +0000 (15:39 -0700)
commitc81f717cb9e0bd91dc4b98753cb2705ab0fe2801
tree449fd751060c50355bf416fe0425c382a42ce047
parentbb029c67e430e9ae96476ce7233468c11627c1db
fbcon: Fix typo and bogus logic in get_default_font

Reported in: Bugzilla Bug 8727

Fix typo and bogus logic in get_default_font(). The bug results in
get_default_font() returning a font that may not be displayed properly by a
framebuffer driver.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/console/fonts.c