Couple of bug typos fixed.

This commit is contained in:
Darren 'Tadgy' Austin 2022-08-30 00:13:56 +01:00
commit 0c0b9a6735

View file

@ -82,7 +82,7 @@ void skipline(FILE *f)
} while ( ch != '\n' && ch != EOF );
}
int write_bar_graph(FILE *f, static png_color palette, double perc, int width, int height, int border, int spacers)
int write_bar_graph(FILE *f, png_color palette[], double perc, int width, int height, int border, int spacers)
{
int bwidth, bheight; /* Width and height including border */
double frac;
@ -336,7 +336,7 @@ int main(int argc, char *argv[])
/**** Begin code that generates output ****/
if ( !first ) {
FILE *ubar, *lpngmaker *dpngmaker;
FILE *ubar, *lpngmaker, *dpngmaker;
timedelta = (double)(t_now.tv_sec - t_last.tv_sec) +
(t_now.tv_usec - t_last.tv_usec)/1.0e+6;