Added braces around single statement blocks.

This commit is contained in:
Svend Sorensen
2005-03-24 12:32:39 +00:00
parent 76988c8ef0
commit 24068b5a61
8 changed files with 113 additions and 65 deletions

View File

@@ -83,22 +83,24 @@ int main (int argc, char **argv)
usage(0);
break;
case 'i':
if (0 == strcmp("cue", optarg))
if (0 == strcmp("cue", optarg)) {
iformat = CUE;
else if (0 == strcmp("toc", optarg))
} else if (0 == strcmp("toc", optarg)) {
iformat = TOC;
else
} else {
fprintf(stderr, "%s: illegal format `%s'\n", progname, optarg);
usage(1);
}
break;
case 'o':
if (0 == strcmp("cue", optarg))
if (0 == strcmp("cue", optarg)) {
oformat = CUE;
else if (0 == strcmp("toc", optarg))
} else if (0 == strcmp("toc", optarg)) {
oformat = TOC;
else
} else {
fprintf(stderr, "%s: illegal format `%s'\n", progname, optarg);
usage(1);
}
break;
default:
usage(1);