diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/fb/splash_bmp.c | 1 | ||||
-rw-r--r-- | sys/modules/splash/bmp/splash_bmp.c | 1 |
2 files changed, 0 insertions, 2 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 */ diff --git a/sys/modules/splash/bmp/splash_bmp.c b/sys/modules/splash/bmp/splash_bmp.c index e3db76d..09251b9 100644 --- a/sys/modules/splash/bmp/splash_bmp.c +++ b/sys/modules/splash/bmp/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 */ |