styled again with astyle

master
karlstav 11 years ago
parent d04c6ef2fb
commit 2921e98659
  1. 4
      cava.c

@ -10,6 +10,7 @@
__typeof__ (b) _b = (b); \ __typeof__ (b) _b = (b); \
_a > _b ? _a : _b; }) _a > _b ? _a : _b; })
#include <unistd.h> #include <unistd.h>
#include <sys/types.h>
#include <signal.h> #include <signal.h>
#include <string.h> #include <string.h>
#include <getopt.h> #include <getopt.h>
@ -387,7 +388,8 @@ int main(int argc, char **argv)
rest = (((w.ws_col) - (bw * bands + bands - 1))); rest = (((w.ws_col) - (bw * bands + bands - 1)));
if (rest < 0)rest = 0; if (rest < 0)rest = 0;
if(debug == 1) printf("hoyde: %d bredde: %d bands:%d bandbredde: %d rest: %d\n", if (debug == 1)
printf("hoyde: %d bredde: %d bands:%d bandbredde: %d rest: %d\n",
(int)w.ws_row, (int)w.ws_row,
(int)w.ws_col, bands, bw, rest); (int)w.ws_col, bands, bw, rest);

Loading…
Cancel
Save