status hilite bits

I noticed an unused array and missing ifdef in generic hilite code.
This commit is contained in:
cohrs
2007-02-22 16:19:04 +00:00
parent dae9a9de82
commit c0418d52d6
+2 -1
View File
@@ -1343,7 +1343,6 @@ const char *fieldnm[MAXBLSTATS];
const char *fieldfmt[MAXBLSTATS]; const char *fieldfmt[MAXBLSTATS];
char *vals[MAXBLSTATS]; char *vals[MAXBLSTATS];
boolean activefields[MAXBLSTATS]; boolean activefields[MAXBLSTATS];
struct hilite_s hilites[MAXBLSTATS];
NEARDATA winid WIN_STATUS; NEARDATA winid WIN_STATUS;
void void
@@ -1386,6 +1385,7 @@ boolean enable;
activefields[fieldidx] = enable; activefields[fieldidx] = enable;
} }
# ifdef STATUS_HILITES
void void
genl_status_threshold(fldidx, thresholdtype, threshold, behavior, under, over) genl_status_threshold(fldidx, thresholdtype, threshold, behavior, under, over)
int fldidx,thresholdtype; int fldidx,thresholdtype;
@@ -1394,6 +1394,7 @@ anything threshold;
{ {
} }
# endif /* STATUS_HILITES */
void void
genl_status_update(idx, ptr, chg, percent) genl_status_update(idx, ptr, chg, percent)