move entry/exit debugging to 21.1
[unix-history] / usr / src / games / hangman / prman.c
/*-
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
* %sccs.include.redist.c%
*/
#ifndef lint
static char sccsid[] = "@(#)prman.c 8.1 (Berkeley) %G%";
#endif /* not lint */
# include "hangman.h"
/*
* prman:
* Print out the man appropriately for the give number
* of incorrect guesses.
*/
prman()
{
register int i;
for (i = 0; i < Errors; i++)
mvaddch(Err_pos[i].y, Err_pos[i].x, Err_pos[i].ch);
while (i < MAXERRS) {
mvaddch(Err_pos[i].y, Err_pos[i].x, ' ');
i++;
}
}