diff options
author | nyan <nyan@FreeBSD.org> | 2000-10-28 10:59:21 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2000-10-28 10:59:21 +0000 |
commit | 18652ae093f861545f7c487b01b5b360f44c8195 (patch) | |
tree | 6ba170cf4ca265479d5c5140ff2aec1dccb4a069 /sys/dev/fb | |
parent | 6f69682320cc03dfd7dd045d9ca325496027d955 (diff) | |
download | FreeBSD-src-18652ae093f861545f7c487b01b5b360f44c8195.zip FreeBSD-src-18652ae093f861545f7c487b01b5b360f44c8195.tar.gz |
Removed extra calculation for X position (PC-98 only).
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
Diffstat (limited to 'sys/dev/fb')
-rw-r--r-- | sys/dev/fb/splash_bmp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/fb/splash_bmp.c b/sys/dev/fb/splash_bmp.c index e3db76d..09251b9 100644 --- a/sys/dev/fb/splash_bmp.c +++ b/sys/dev/fb/splash_bmp.c @@ -274,7 +274,6 @@ bmp_SetPix(BMP_INFO *info, int x, int y, u_char val) switch(info->sdepth) { #ifdef PC98 case 4: - x += (info->swidth - info->width) / 2; sofs += (x >> 3); bofs = x & 0x7; /* offset within byte */ |