From 2d2c42e652606ac2fd60d34519cb7b4b325422b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Dani=C3=ABl=20Geelen?= Date: Wed, 23 May 2018 19:08:41 +0200 Subject: [PATCH] Add more white space around expressions. --- simavr/sim/run_avr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.39.5