rm useless global
This commit is contained in:
parent
1853d44e82
commit
0c7669df6c
@ -66,7 +66,6 @@ unsigned int disprefs; /* displayed references */
|
|||||||
int field; /* input field */
|
int field; /* input field */
|
||||||
unsigned int mdisprefs; /* maximum displayed references */
|
unsigned int mdisprefs; /* maximum displayed references */
|
||||||
unsigned int nextline; /* next line to be shown */
|
unsigned int nextline; /* next line to be shown */
|
||||||
static int bottomline; /* bottom line of page */
|
|
||||||
long searchcount; /* count of files searched */
|
long searchcount; /* count of files searched */
|
||||||
unsigned int totallines; /* total reference lines */
|
unsigned int totallines; /* total reference lines */
|
||||||
unsigned int curdispline = 0;
|
unsigned int curdispline = 0;
|
||||||
@ -599,12 +598,11 @@ endrefs:
|
|||||||
wattron(wresult, COLOR_PAIR(COLOR_PAIR_PAGER_MSG));
|
wattron(wresult, COLOR_PAIR(COLOR_PAIR_PAGER_MSG));
|
||||||
/* check for more references */
|
/* check for more references */
|
||||||
i = totallines - nextline + 1;
|
i = totallines - nextline + 1;
|
||||||
bottomline = nextline;
|
|
||||||
if(i > 0) {
|
if(i > 0) {
|
||||||
wprintw(wresult,
|
wprintw(wresult,
|
||||||
"* Lines %d-%d of %d, %d more. *",
|
"* Lines %d-%d of %d, %d more. *",
|
||||||
topref,
|
topref,
|
||||||
bottomline,
|
topref + nextline,
|
||||||
totallines,
|
totallines,
|
||||||
i);
|
i);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user