-/* $NetBSD: score.c,v 1.11 1999/09/18 19:38:54 jsm Exp $ */
+/* $NetBSD: score.c,v 1.15 2000/04/27 19:31:23 thorpej Exp $ */
/*
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)score.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: score.c,v 1.11 1999/09/18 19:38:54 jsm Exp $");
+__RCSID("$NetBSD: score.c,v 1.15 2000/04/27 19:31:23 thorpej Exp $");
#endif
#endif /* not lint */
move((scp - Top) + 2, 15);
if (!done_show && scp->s_uid == uid && scp->s_score == Score)
standout();
- printw("%5.5d %5.5d %-8.8s %-9.9s %5.5d",
- (scp - Top) + 1, scp->s_score, scp->s_name,
- Auto_bot ? "(autobot)" : "", scp->s_level);
+ printw("%5ld %5d %-8.8s %-9.9s %5d",
+ (long)(scp - Top) + 1, scp->s_score, scp->s_name,
+ scp->s_auto ? "(autobot)" : "", scp->s_level);
if (!done_show && scp->s_uid == uid && scp->s_score == Score) {
standend();
done_show = TRUE;
" ", "Level");
for (scp = Top; scp < &Top[MAXSCORES]; scp++)
if (scp->s_score > 0)
- printf("%5.5d %5.5d %-8.8s %-9.9s %5.5d\n",
+ printf("%5d %5d %-8.8s %-9.9s %5d\n",
inf++, scp->s_score, scp->s_name,
scp->s_auto ? "(autobot)" : "", scp->s_level);
}