From 009d3f71d2fe402a31999fca46c0a218cc7cf5cd Mon Sep 17 00:00:00 2001 From: marschap Date: Mon, 27 Feb 2006 17:57:23 +0000 Subject: [PATCH] a few fixes from Andrew Foss --- clients/lcdproc/main.c | 6 +++--- clients/lcdproc/main.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clients/lcdproc/main.c b/clients/lcdproc/main.c index 6e59ddd..3829e01 100644 --- a/clients/lcdproc/main.c +++ b/clients/lcdproc/main.c @@ -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")) { diff --git a/clients/lcdproc/main.h b/clients/lcdproc/main.h index 646136a..9a58d12 100644 --- a/clients/lcdproc/main.h +++ b/clients/lcdproc/main.h @@ -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