Module Name: xsrc Committed By: macallan Date: Thu Aug 27 04:12:37 UTC 2009
Modified Files: xsrc/external/mit/xf86-video-suntcx/dist/src: tcx_accel.c Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_accel.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_accel.c diff -u xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_accel.c:1.2 xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_accel.c:1.3 --- xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_accel.c:1.2 Thu Aug 27 02:41:53 2009 +++ xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_accel.c Thu Aug 27 04:12:37 2009 @@ -21,7 +21,7 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* $NetBSD: tcx_accel.c,v 1.2 2009/08/27 02:41:53 macallan Exp $ */ +/* $NetBSD: tcx_accel.c,v 1.3 2009/08/27 04:12:37 macallan Exp $ */ #include <sys/types.h> @@ -187,7 +187,11 @@ return FALSE; if (exaGetPixmapOffset(pPixmap) != 0) return FALSE; - pTcx->fg = (fg & 0x00ffffff) | pTcx->pitchshift ? 0x33000000 : 0x30000000; + pTcx->fg = (fg & 0x00ffffff); + if (pTcx->pitchshift == 0) { + pTcx->fg |= 0x30000000; + } else + pTcx->fg |= 0x33000000; #ifdef DEBUG xf86Msg(X_ERROR, "fg: %08x\n", fg); #endif