Fixed a typo and re-added an accidentally removed line
authorKevin Lyles <iqgryn@users.sourceforge.net>
Wed, 20 Feb 2008 10:00:45 +0000 (10:00 +0000)
committerKevin Lyles <iqgryn@users.sourceforge.net>
Wed, 20 Feb 2008 10:00:45 +0000 (10:00 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1002 7f574dfc-610e-0410-a909-a81674777703

src/conky.c
src/mboxscan.c

index faee431..0219f16 100644 (file)
@@ -754,7 +754,7 @@ static char *scan_graph(const char *args, int *w, int *h,
        *h = 25;
        *first_colour = 0;
        *last_colour = 0;
-
+       *scale = 0;
        /* graph's argument is either height or height,width */
        if (args) {
                if (sscanf(args, "%d,%d %x %x %i", h, w, first_colour, last_colour,
index c9fddc4..f721470 100644 (file)
@@ -150,7 +150,7 @@ void mbox_scan(char *args, char *output, size_t max_len)
                        free(copy_args);
                }
                if (strlen(mbox_mail_spool) < 1) {
-                       CRIT_ERR("Usage: ${mboxscan [-n <number of messages to print>] [-fw <from width>] [-sw <subject width>] [-t <delay in sec> mbox}");
+                       CRIT_ERR("Usage: ${mboxscan [-n <number of messages to print>] [-fw <from width>] [-sw <subject width>] [-t <delay in sec> mbox]}");
                }
 
                /* allowing $MAIL in the config */