Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/tc Remove some erroneous semicolons.
details: https://anonhg.NetBSD.org/src/rev/76d99f060ca0
branches: trunk
changeset: 574274:76d99f060ca0
user: simonb <simonb%NetBSD.org@localhost>
date: Sat Feb 26 12:51:16 2005 +0000
description:
Remove some erroneous semicolons.
diffstat:
sys/dev/tc/sfb.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 35ac6b556863 -r 76d99f060ca0 sys/dev/tc/sfb.c
--- a/sys/dev/tc/sfb.c Sat Feb 26 12:45:06 2005 +0000
+++ b/sys/dev/tc/sfb.c Sat Feb 26 12:51:16 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sfb.c,v 1.65 2005/01/02 20:43:23 mhitch Exp $ */
+/* $NetBSD: sfb.c,v 1.66 2005/02/26 12:51:16 simonb Exp $ */
/*
* Copyright (c) 1998, 1999 Tohru Nishimura. All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.65 2005/01/02 20:43:23 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.66 2005/02/26 12:51:16 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -879,11 +879,11 @@
if (y < 0)
y = 0;
- else if (y > ri->ri_height);
+ else if (y > ri->ri_height)
y = ri->ri_height;
if (x < 0)
x = 0;
- else if (x > ri->ri_width);
+ else if (x > ri->ri_width)
x = ri->ri_width;
sc->sc_cursor.cc_pos.x = x;
sc->sc_cursor.cc_pos.y = y;
Home |
Main Index |
Thread Index |
Old Index