summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/fb/splash_bmp.c1
-rw-r--r--sys/modules/splash/bmp/splash_bmp.c1
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 */
OpenPOWER on IntegriCloud