From f02c188eead97275ba38406f77be0a0a5d8353c3 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 21 Mar 2013 21:00:12 +0000 Subject: [PATCH] Add syntatic sugar to avoid hurting my eyes --- sys/dev/rasops/rasops32.c | 10 +++++----- sys/dev/rasops/rasops8.c | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/dev/rasops/rasops32.c b/sys/dev/rasops/rasops32.c index ad5911c3dcc2..7cb971d41b21 100644 --- a/sys/dev/rasops/rasops32.c +++ b/sys/dev/rasops/rasops32.c @@ -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 -__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 @@ rasops32_init(struct rasops_info *ri) 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 --git a/sys/dev/rasops/rasops8.c b/sys/dev/rasops/rasops8.c index dc9b1d72e3ca..fb3b853ae680 100644 --- a/sys/dev/rasops/rasops8.c +++ b/sys/dev/rasops/rasops8.c @@ -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 -__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 @@ void 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) {