Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Argh - add initialization that got lost during ed...



details:   https://anonhg.NetBSD.org/src/rev/f71ceeff4fc7
branches:  trunk
changeset: 481317:f71ceeff4fc7
user:      ad <ad%NetBSD.org@localhost>
date:      Wed Jan 26 01:23:32 2000 +0000

description:
Argh - add initialization that got lost during editing of previous addition.

diffstat:

 sys/dev/ic/pcdisplay_subr.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a1e96aed427e -r f71ceeff4fc7 sys/dev/ic/pcdisplay_subr.c
--- a/sys/dev/ic/pcdisplay_subr.c       Wed Jan 26 01:18:48 2000 +0000
+++ b/sys/dev/ic/pcdisplay_subr.c       Wed Jan 26 01:23:32 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcdisplay_subr.c,v 1.14 2000/01/25 02:44:03 ad Exp $ */
+/* $NetBSD: pcdisplay_subr.c,v 1.15 2000/01/26 01:23:32 ad Exp $ */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -66,7 +66,8 @@
 
                scr->cursortmp = bus_space_read_2(memt, memh, off);
                bus_space_write_2(memt, memh, off, scr->cursortmp ^ 0x7700);
-       }
+       } else
+               scr->cursortmp = 0;
 #endif
        scr->cursoron = 1;
 }



Home | Main Index | Thread Index | Old Index