From: Daniƫl Geelen Date: Wed, 23 May 2018 17:08:41 +0000 (+0200) Subject: Add more white space around expressions. X-Git-Tag: v1.7~47^2 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=2d2c42e652606ac2fd60d34519cb7b4b325422b2;p=sx%2Fsimavr.git Add more white space around expressions. --- diff --git a/simavr/sim/run_avr.c b/simavr/sim/run_avr.c index 7559e94..d3b977a 100644 --- a/simavr/sim/run_avr.c +++ b/simavr/sim/run_avr.c @@ -122,14 +122,14 @@ main( } else if (!strcmp(argv[pi], "-t") || !strcmp(argv[pi], "--trace")) { trace++; } else if (!strcmp(argv[pi], "--vcd-trace-name")) { - if (pi+1>=argc) { + if (pi + 1 >= argc) { fprintf(stderr, "%s: missing mandatory argument for %s.\n", argv[0], argv[pi]); exit(1); } ++pi; strncpy(f.tracename, argv[pi], sizeof(f.tracename)); } else if (!strcmp(argv[pi], "--add-vcd-trace")) { - if (pi+1>=argc) { + if (pi + 1 >= argc) { fprintf(stderr, "%s: missing mandatory argument for %s.\n", argv[0], argv[pi]); exit(1); } @@ -186,7 +186,7 @@ main( ++f.tracecount; } else if (!strcmp(argv[pi], "--vcd-trace-file")) { - if (pi+1>=argc) { + if (pi + 1 >= argc) { fprintf(stderr, "%s: missing mandatory argument for %s.\n", argv[0], argv[pi]); exit(1); }