From 164f814056645ef1910d5bf4c9147929e07c3a7c Mon Sep 17 00:00:00 2001 From: roy Date: Wed, 3 Feb 2010 15:34:37 +0000 Subject: Userland now builds and uses terminfo instead of termcap. OK: core@, jdc@ --- tetris/scores.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tetris/scores.c') diff --git a/tetris/scores.c b/tetris/scores.c index eaf2618c..42c427e0 100644 --- a/tetris/scores.c +++ b/tetris/scores.c @@ -1,4 +1,4 @@ -/* $NetBSD: scores.c,v 1.18 2009/09/08 13:38:01 dholland Exp $ */ +/* $NetBSD: scores.c,v 1.19 2010/02/03 15:34:39 roy Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -50,7 +50,7 @@ #include #include #include -#include +#include #include #include "pathnames.h" @@ -861,7 +861,7 @@ showscores(int level) * the high scores; we do not need to check for printing in highlight * mode. If SOstr is null, we can't do highlighting anyway. */ - me = level && SOstr ? thisuser() : NULL; + me = level && enter_standout_mode ? thisuser() : NULL; /* * Set times to 0 except for high score on each level. @@ -939,12 +939,12 @@ printem(int level, int offset, struct highscore *hs, int n, const char *me) sp->hs_level == level && sp->hs_score == score && strcmp(sp->hs_name, me) == 0) { - putpad(SOstr); + putpad(enter_standout_mode); highlight = 1; } (void)printf("%s", buf); if (highlight) { - putpad(SEstr); + putpad(exit_standout_mode); highlight = 0; } -- cgit v1.2.3