Couple of bug typos fixed.
This commit is contained in:
parent
db62cf88c6
commit
0c0b9a6735
1 changed files with 2 additions and 2 deletions
4
bwbar.c
4
bwbar.c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue