Module Name: src Committed By: rin Date: Sun Jul 28 02:45:52 UTC 2019
Modified Files: src/sys/dev/rasops: rasops15.c Log Message: Fix underline for anti-aliased fonts on 15/16 depth screen. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/dev/rasops/rasops15.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/rasops/rasops15.c diff -u src/sys/dev/rasops/rasops15.c:1.28 src/sys/dev/rasops/rasops15.c:1.29 --- src/sys/dev/rasops/rasops15.c:1.28 Thu Jul 25 15:18:53 2019 +++ src/sys/dev/rasops/rasops15.c Sun Jul 28 02:45:52 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: rasops15.c,v 1.28 2019/07/25 15:18:53 rin Exp $ */ +/* $NetBSD: rasops15.c,v 1.29 2019/07/28 02:45:52 rin Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rasops15.c,v 1.28 2019/07/25 15:18:53 rin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rasops15.c,v 1.29 2019/07/28 02:45:52 rin Exp $"); #include "opt_rasops.h" @@ -154,7 +154,7 @@ rasops15_putchar_aa(void *cookie, int ro if (uc == ' ') { for (cnt = 0; cnt < width; cnt++) buffer[cnt] = clr[0]; - while (height--) { + for (y = 0; y < height; y++) { dp = rp; DELTA(rp, ri->ri_stride, uint16_t *); memcpy(dp, buffer, width << 1);