From 63ac60d201d262da5a46e39e5ed402546e61d631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Andr=C3=A9n=20Zachrisson?= Date: Sun, 1 Nov 2015 13:50:05 +0100 Subject: [PATCH] Add extra braces --- cue2pops.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cue2pops.c b/cue2pops.c index bf34aa4..f15c211 100644 --- a/cue2pops.c +++ b/cue2pops.c @@ -1104,7 +1104,9 @@ int main(int argc, char **argv) if(vmode == 1 && i <= daTrack_ptr) NTSCpatcher(outbuf, i); if(i + HEADERSIZE >= bin_size) { fwrite(outbuf, HEADERSIZE - (i + HEADERSIZE - bin_size), 1, vcd_file); - } else fwrite(outbuf, HEADERSIZE, 1, vcd_file); + } else { + fwrite(outbuf, HEADERSIZE, 1, vcd_file); + } } } if(GameTitle >= 0 && fix_game == 1 && GameFixed == 0) { @@ -1184,7 +1186,9 @@ int main(int argc, char **argv) if(vmode == 1 && i <= daTrack_ptr) NTSCpatcher(outbuf, i); if(i + HEADERSIZE >= bin_size) { fwrite(outbuf, HEADERSIZE - (i + HEADERSIZE - bin_size), 1, vcd_file); - } else fwrite(outbuf, HEADERSIZE, 1, vcd_file); + } else { + fwrite(outbuf, HEADERSIZE, 1, vcd_file); + } } } if(GameTitle >= 0 && fix_game == 1 && GameFixed == 0) { @@ -1264,7 +1268,9 @@ int main(int argc, char **argv) if(vmode == 1 && i <= daTrack_ptr) NTSCpatcher(outbuf, i); if(i + HEADERSIZE >= bin_size) { fwrite(outbuf, HEADERSIZE - (i + HEADERSIZE - bin_size), 1, vcd_file); - } else fwrite(outbuf, HEADERSIZE, 1, vcd_file); + } else { + fwrite(outbuf, HEADERSIZE, 1, vcd_file); + } } } if(GameTitle >= 0 && fix_game == 1 && GameFixed == 0) {