diff options
author | Clive Lin <clive@FreeBSD.org> | 2004-08-01 09:42:43 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2004-08-01 09:42:43 +0000 |
commit | fd1b91a94fe129f45ffdd826b2f3242d119042c4 (patch) | |
tree | beef44fd68f632d5c45766b3594b3efbbb60e954 /chinese/zhcon | |
parent | c895ecbad3d2172b7c7cc8f5412c3a744dfd26f9 (diff) | |
download | ports-fd1b91a94fe129f45ffdd826b2f3242d119042c4.tar.gz ports-fd1b91a94fe129f45ffdd826b2f3242d119042c4.zip |
Notes
Diffstat (limited to 'chinese/zhcon')
-rw-r--r-- | chinese/zhcon/files/patch-src::display::fblinear24.cpp | 16 | ||||
-rw-r--r-- | chinese/zhcon/files/patch-src::display::fblinear8.cpp | 11 |
2 files changed, 27 insertions, 0 deletions
diff --git a/chinese/zhcon/files/patch-src::display::fblinear24.cpp b/chinese/zhcon/files/patch-src::display::fblinear24.cpp new file mode 100644 index 000000000000..abab0e40c044 --- /dev/null +++ b/chinese/zhcon/files/patch-src::display::fblinear24.cpp @@ -0,0 +1,16 @@ +--- src/display/fblinear24.cpp~ Sun Aug 1 17:22:19 2004 ++++ src/display/fblinear24.cpp Sun Aug 1 17:27:33 2004 +@@ -203,11 +203,11 @@ + d1 = (-(*cdat >> 3 & 1) & eorx) ^ bgx; + d2 = (-(*cdat >> 2 & 1) & eorx) ^ bgx; + fb_writel(d1 | (d2<<24), dest32++); +- fb_writew(d2>>8, ((__u16*)dest32)++); ++ fb_writew(d2>>8, ((__u16*)dest32) + 1); + } + if (pFont->w & 1) { + d3 = (-(*cdat >> 1 & 1) & eorx) ^ bgx; +- fb_writew(d3, ((__u16*)dest32)++); ++ fb_writew(d3, ((__u16*)dest32) + 1); + fb_writeb(d3>>16, (__u8*)dest32); + } + cdat++; diff --git a/chinese/zhcon/files/patch-src::display::fblinear8.cpp b/chinese/zhcon/files/patch-src::display::fblinear8.cpp new file mode 100644 index 000000000000..3cdf72ff7748 --- /dev/null +++ b/chinese/zhcon/files/patch-src::display::fblinear8.cpp @@ -0,0 +1,11 @@ +--- src/display/fblinear8.cpp~ Sun Aug 1 17:29:43 2004 ++++ src/display/fblinear8.cpp Sun Aug 1 17:39:12 2004 +@@ -102,7 +102,7 @@ + fb_writel((nibbletab_cfb8[*cdat >> 4] & eorx) ^ bgx, dest32++); + } + if (pFont->w & 2) { +- fb_writew((nibbletab_cfb8[*cdat & 0xc] & eorx) ^ bgx, ((__u16*)dest32)++); ++ fb_writew((nibbletab_cfb8[*cdat & 0xc] & eorx) ^ bgx, ((__u16*)dest32) + 1); + } + if (pFont->w & 1) { + fb_writeb((*cdat & 2) ? fg : bg, (__u8*)dest32); |