a few fixes from Andrew Foss

This commit is contained in:
marschap
2006-02-27 17:57:23 +00:00
parent cb7f3ab8d7
commit 009d3f71d2
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -394,7 +394,7 @@ main_loop()
for (j = 0; sequence[j].which; j++) {
if (sequence[j].which == argv[1][0]) {
sequence[j].flags |= VISIBLE;
//debug("Listen %s\n", argv[1]);
//debug(RPT_DEBUG, "Listen %s\n", argv[1]);
}
}
}
@@ -402,12 +402,12 @@ main_loop()
for (j = 0; sequence[j].which; j++) {
if (sequence[j].which == argv[1][0]) {
sequence[j].flags &= ~VISIBLE;
//debug("Ignore %s\n", argv[1]);
//debug(RPT_DEBUG, "Ignore %s\n", argv[1]);
}
}
}
else if (0 == strcmp(argv[0], "key")) {
debug("Key %s\n", argv[1]);
debug(RPT_DEBUG, "Key %s\n", argv[1]);
}
#ifdef LCDPROC_MENUS
else if (0 == strcmp(argv[0], "menuevent")) {
+1 -1
View File
@@ -39,7 +39,7 @@ typedef struct mode
int show_invisible; // Send stats while not visible?
int timer; // Time since last update
int flags; // bit 1 visible, bit 2 selected for display, bit 3 first
int (*func)(int,int,int *) // function pointer
int (*func)(int,int,int *); // function pointer
} mode;
//mode flags