Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/rasops Add syntatic sugar to avoid hurting my eyes
details: https://anonhg.NetBSD.org/src/rev/6a36b70de21f
branches: trunk
changeset: 785590:6a36b70de21f
user: martin <martin%NetBSD.org@localhost>
date: Thu Mar 21 21:00:12 2013 +0000
description:
Add syntatic sugar to avoid hurting my eyes
diffstat:
sys/dev/rasops/rasops32.c | 10 +++++-----
sys/dev/rasops/rasops8.c | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (58 lines):
diff -r 42e92b6572d0 -r 6a36b70de21f sys/dev/rasops/rasops32.c
--- a/sys/dev/rasops/rasops32.c Thu Mar 21 20:05:56 2013 +0000
+++ b/sys/dev/rasops/rasops32.c Thu Mar 21 21:00:12 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops32.c,v 1.25 2012/10/23 15:12:59 macallan Exp $ */
+/* $NetBSD: rasops32.c,v 1.26 2013/03/21 21:00:12 martin Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops32.c,v 1.25 2012/10/23 15:12:59 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops32.c,v 1.26 2013/03/21 21:00:12 martin Exp $");
#include "opt_rasops.h"
@@ -61,9 +61,9 @@
ri->ri_bpos = 16;
}
- if (FONT_IS_ALPHA(ri->ri_font)) {
- ri->ri_ops.putchar = rasops32_putchar_aa;
- } else
+// if (FONT_IS_ALPHA(ri->ri_font)) {
+// ri->ri_ops.putchar = rasops32_putchar_aa;
+// } else
ri->ri_ops.putchar = rasops32_putchar;
}
diff -r 42e92b6572d0 -r 6a36b70de21f sys/dev/rasops/rasops8.c
--- a/sys/dev/rasops/rasops8.c Thu Mar 21 20:05:56 2013 +0000
+++ b/sys/dev/rasops/rasops8.c Thu Mar 21 21:00:12 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops8.c,v 1.32 2012/01/25 20:18:04 macallan Exp $ */
+/* $NetBSD: rasops8.c,v 1.33 2013/03/21 21:00:12 martin Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops8.c,v 1.32 2012/01/25 20:18:04 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops8.c,v 1.33 2013/03/21 21:00:12 martin Exp $");
#include "opt_rasops.h"
@@ -76,7 +76,7 @@
rasops8_init(struct rasops_info *ri)
{
- if FONT_IS_ALPHA(ri->ri_font) {
+ if (FONT_IS_ALPHA(ri->ri_font)) {
ri->ri_ops.putchar = rasops8_putchar_aa;
} else {
switch (ri->ri_font->fontwidth) {
Home |
Main Index |
Thread Index |
Old Index