some more cleanup
This commit is contained in:
parent
c7e0e5d74b
commit
04add5df1a
|
@ -3,7 +3,7 @@ char sixd_to_8bit(int x) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void init_appearance(void) {
|
void init_appearance(void) {
|
||||||
int i = 0, j = 0;
|
int i = 0;
|
||||||
|
|
||||||
char cbuf[8];
|
char cbuf[8];
|
||||||
|
|
||||||
|
|
|
@ -133,11 +133,9 @@ void readfile(void) {
|
||||||
if (!o) longestedge = imagegaps = 0;
|
if (!o) longestedge = imagegaps = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (i == olistcount) {
|
if (i == listcount) {
|
||||||
listcount = i;
|
|
||||||
listchanged = 0;
|
listchanged = 0;
|
||||||
} else {
|
} else {
|
||||||
olistcount = listcount;
|
|
||||||
listcount = i;
|
listcount = i;
|
||||||
listchanged = 1;
|
listchanged = 1;
|
||||||
|
|
||||||
|
|
1
spmenu.c
1
spmenu.c
|
@ -237,7 +237,6 @@ static size_t nextrune(int inc);
|
||||||
static char **list;
|
static char **list;
|
||||||
static size_t listsize;
|
static size_t listsize;
|
||||||
static int listcount;
|
static int listcount;
|
||||||
static int olistcount;
|
|
||||||
static int listchanged = 0;
|
static int listchanged = 0;
|
||||||
|
|
||||||
// user configuration
|
// user configuration
|
||||||
|
|
Loading…
Reference in a new issue