File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- /* $NetBSD: graphics.c,v 1.17 2014/03/22 22:24:21 dholland Exp $ */
1+ /* $NetBSD: graphics.c,v 1.18 2014/03/22 22:33:35 dholland Exp $ */
22
33/*-
44 * Copyright (c) 1990, 1993
4646#if 0
4747static char sccsid [] = "@(#)graphics.c 8.1 (Berkeley) 5/31/93" ;
4848#else
49- __RCSID ("$NetBSD: graphics.c,v 1.17 2014/03/22 22:24:21 dholland Exp $" );
49+ __RCSID ("$NetBSD: graphics.c,v 1.18 2014/03/22 22:33:35 dholland Exp $" );
5050#endif
5151#endif /* not lint */
5252
@@ -166,10 +166,10 @@ setup_screen(const C_SCREEN *scp)
166166 * through beacons and exit points.
167167 */
168168 str [0 ] = C_LINE ;
169- for (i = 0 ; i < scp -> num_lines ; i ++ ) {
169+ for (iu = 0 ; iu < scp -> num_lines ; iu ++ ) {
170170 str [1 ] = ' ' ;
171- draw_line (radar , scp -> line [i ].p1 .x , scp -> line [i ].p1 .y ,
172- scp -> line [i ].p2 .x , scp -> line [i ].p2 .y , str );
171+ draw_line (radar , scp -> line [iu ].p1 .x , scp -> line [iu ].p1 .y ,
172+ scp -> line [iu ].p2 .x , scp -> line [iu ].p2 .y , str );
173173 }
174174
175175 str [0 ] = C_TOPBOTTOM ;
Original file line number Diff line number Diff line change 1- /* $NetBSD: struct.h,v 1.7 2014/03/22 22:24:21 dholland Exp $ */
1+ /* $NetBSD: struct.h,v 1.8 2014/03/22 22:33:35 dholland Exp $ */
22
33/*-
44 * Copyright (c) 1990, 1993
@@ -61,7 +61,7 @@ typedef struct {
6161 int update_secs ;
6262 int newplane_time ;
6363 unsigned num_exits ;
64- int num_lines ;
64+ unsigned num_lines ;
6565 unsigned num_beacons ;
6666 unsigned num_airports ;
6767 EXIT * exit ;
You can’t perform that action at this time.
0 commit comments