BSD 4_3 release
[unix-history] / usr / src / games / hangman / prman.c
CommitLineData
47f3a220
C
1# include "hangman.h"
2
3/*
4 * prman:
5 * Print out the man appropriately for the give number
6 * of incorrect guesses.
7 */
8prman()
9{
10 register int i;
11
12 for (i = 0; i < Errors; i++)
13 mvaddch(Err_pos[i].y, Err_pos[i].x, Err_pos[i].ch);
14 while (i < MAXERRS) {
15 mvaddch(Err_pos[i].y, Err_pos[i].x, ' ');
16 i++;
17 }
18}