Skip to content

Commit 6b884ad

Browse files
committed
woops, more of previous.
1 parent c1bee34 commit 6b884ad

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

games/atc/graphics.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
@@ -46,7 +46,7 @@
4646
#if 0
4747
static 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;

games/atc/struct.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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;

0 commit comments

Comments
 (0)