From 9ec0373c90abba62c24ecf1663b040d6515d5431 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 6 Feb 2007 22:03:25 +0000 Subject: Evil typo; spotted by Thorsten Glaser --- sys/dev/isa/ega.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/isa') diff --git a/sys/dev/isa/ega.c b/sys/dev/isa/ega.c index a63a028455a..bc93ef764b1 100644 --- a/sys/dev/isa/ega.c +++ b/sys/dev/isa/ega.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ega.c,v 1.11 2006/12/02 19:11:11 miod Exp $ */ +/* $OpenBSD: ega.c,v 1.12 2007/02/06 22:03:24 miod Exp $ */ /* $NetBSD: ega.c,v 1.4.4.1 2000/06/30 16:27:47 simonb Exp $ */ /* @@ -916,7 +916,7 @@ ega_unpack_attr(id, attr, fg, bg, ul) } else { *fg = pctoansi[attr & 0x07]; *bg = pctoansi[(attr & 0x70) >> 4]; - if (*ul != NULL) + if (ul != NULL) *ul = 0; } if (attr & FG_INTENSE) -- cgit v1.2.3