From c0418d52d6223fbf4b87850ab7d7d71e536fc095 Mon Sep 17 00:00:00 2001 From: cohrs Date: Thu, 22 Feb 2007 16:19:04 +0000 Subject: [PATCH] status hilite bits I noticed an unused array and missing ifdef in generic hilite code. --- src/botl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/botl.c b/src/botl.c index acc8f1ea8..9761fdffd 100644 --- a/src/botl.c +++ b/src/botl.c @@ -1343,7 +1343,6 @@ const char *fieldnm[MAXBLSTATS]; const char *fieldfmt[MAXBLSTATS]; char *vals[MAXBLSTATS]; boolean activefields[MAXBLSTATS]; -struct hilite_s hilites[MAXBLSTATS]; NEARDATA winid WIN_STATUS; void @@ -1386,6 +1385,7 @@ boolean enable; activefields[fieldidx] = enable; } +# ifdef STATUS_HILITES void genl_status_threshold(fldidx, thresholdtype, threshold, behavior, under, over) int fldidx,thresholdtype; @@ -1394,6 +1394,7 @@ anything threshold; { } +# endif /* STATUS_HILITES */ void genl_status_update(idx, ptr, chg, percent)