From 2eec9b0bc3a564145ad33ac8872363b285182695 Mon Sep 17 00:00:00 2001 From: jonathan Date: Mon, 16 Jun 1997 09:53:14 +0000 Subject: [PATCH] Back out previous change: Add placeholder for Ted Lemon's years-old-but-new cursor-movment range checks. --- sys/arch/pmax/dev/ims332.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/arch/pmax/dev/ims332.c b/sys/arch/pmax/dev/ims332.c index 807dd4f13629..c07e2911cf21 100644 --- a/sys/arch/pmax/dev/ims332.c +++ b/sys/arch/pmax/dev/ims332.c @@ -1,4 +1,4 @@ -/* $NetBSD: ims332.c,v 1.5 1997/06/16 02:18:47 jonathan Exp $ */ +/* $NetBSD: ims332.c,v 1.6 1997/06/16 09:53:14 jonathan Exp $ */ /*- * Copyright (c) 1992, 1993, 1995 @@ -298,7 +298,6 @@ ims332PosCursor(fi, x, y) struct fbinfo *fi; int x, y; { -#ifdef MELLON if (y < 0) y = 0; else if (y > fi -> fi_type.fb_width - fi -> fi_cursor.width - 1) @@ -307,12 +306,6 @@ ims332PosCursor(fi, x, y) x = 0; else if (x > fi -> fi_type.fb_height - fi -> fi_cursor.height - 1) x = fi -> fi_type.fb_height - fi -> fi_cursor.height - 1; -#else - if (y < fbu->scrInfo.min_cur_y || y > fbu->scrInfo.max_cur_y) - y = fbu->scrInfo.max_cur_y; - if (x < fbu->scrInfo.min_cur_x || x > fbu->scrInfo.max_cur_x) - x = fbu->scrInfo.max_cur_x; -#endif fi -> fi_cursor.x = x; fi -> fi_cursor.y = y;