Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/menuc Don't frob the interals of a WINDOW*, use the ...
details: https://anonhg.NetBSD.org/src/rev/24573134279b
branches: trunk
changeset: 472015:24573134279b
user: simonb <simonb%NetBSD.org@localhost>
date: Sun Apr 18 03:29:18 1999 +0000
description:
Don't frob the interals of a WINDOW*, use the getmaxy() macro.
diffstat:
usr.bin/menuc/menu_sys.def | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 06a381d80279 -r 24573134279b usr.bin/menuc/menu_sys.def
--- a/usr.bin/menuc/menu_sys.def Sun Apr 18 03:29:01 1999 +0000
+++ b/usr.bin/menuc/menu_sys.def Sun Apr 18 03:29:18 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: menu_sys.def,v 1.15 1998/07/23 17:56:00 phil Exp $ */
+/* $NetBSD: menu_sys.def,v 1.16 1999/04/18 03:29:18 simonb Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -576,7 +576,7 @@
}
cbreak();
noecho();
- max_lines = stdscr->maxy;
+ max_lines = getmaxy(stdscr);
init_keyseq();
#ifdef DYNAMIC_MENUS
num_menus = DYN_INIT_NUM;
Home |
Main Index |
Thread Index |
Old Index