aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/vesa/initvesa.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-03-14 22:07:09 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-03-14 22:07:09 -0700
commit64d7ea7b604c2ca9ab8f7236374b3a1c05005e55 (patch)
treeaefb113b164ae28daefaf0405ca5e96fb421781f /com32/lib/sys/vesa/initvesa.c
parenta80b07e7fb8feec668a435101659e3ed94015a23 (diff)
downloadsyslinux-64d7ea7b604c2ca9ab8f7236374b3a1c05005e55.tar.gz
syslinux-64d7ea7b604c2ca9ab8f7236374b3a1c05005e55.tar.xz
syslinux-64d7ea7b604c2ca9ab8f7236374b3a1c05005e55.zip
Stealth whitespace cleanup (automated)
Diffstat (limited to 'com32/lib/sys/vesa/initvesa.c')
-rw-r--r--com32/lib/sys/vesa/initvesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/lib/sys/vesa/initvesa.c b/com32/lib/sys/vesa/initvesa.c
index febb5804..c70f1cdb 100644
--- a/com32/lib/sys/vesa/initvesa.c
+++ b/com32/lib/sys/vesa/initvesa.c
@@ -152,7 +152,7 @@ static int vesacon_set_mode(void)
mi->rpos, mi->gpos, mi->bpos);
/* Must be an LFB color graphics mode supported by the hardware.
-
+
The bits tested are:
7 - linear frame buffer available
4 - graphics mode
@@ -171,7 +171,7 @@ static int vesacon_set_mode(void)
(depending on VESA version ) */
pxf = PXF_NONE; /* Not usable */
- if (mi->bpp == 32 &&
+ if (mi->bpp == 32 &&
(mi->memory_layout == 4 ||
(mi->memory_layout == 6 && mi->rpos == 16 && mi->gpos == 8 &&
mi->bpos == 0)))