Use semicolons, not comma splices

This commit is contained in:
Rangi42
2024-02-17 09:43:22 -05:00
parent a37285eae9
commit a5ceaa3664

View File

@@ -340,7 +340,7 @@ static char *parseArgv(int argc, char **argv) {
uint16_t number; uint16_t number;
switch (ch) { switch (ch) {
case -'A': case -'A':
warning("`--output-attr-map` is deprecated, use `--auto-attr-map` instead"); warning("`--output-attr-map` is deprecated; use `--auto-attr-map` instead");
[[fallthrough]]; [[fallthrough]];
case 'A': case 'A':
localOptions.autoAttrmap = true; localOptions.autoAttrmap = true;
@@ -505,7 +505,7 @@ static char *parseArgv(int argc, char **argv) {
options.output = musl_optarg; options.output = musl_optarg;
break; break;
case -'P': case -'P':
warning("`--output-palette` is deprecated, use `--auto-palette` instead"); warning("`--output-palette` is deprecated; use `--auto-palette` instead");
[[fallthrough]]; [[fallthrough]];
case 'P': case 'P':
localOptions.autoPalettes = true; localOptions.autoPalettes = true;
@@ -517,7 +517,7 @@ static char *parseArgv(int argc, char **argv) {
options.palettes = musl_optarg; options.palettes = musl_optarg;
break; break;
case -'Q': case -'Q':
warning("`--output-palette-map` is deprecated, use `--auto-palette-map` instead"); warning("`--output-palette-map` is deprecated; use `--auto-palette-map` instead");
[[fallthrough]]; [[fallthrough]];
case 'Q': case 'Q':
localOptions.autoPalmap = true; localOptions.autoPalmap = true;
@@ -549,7 +549,7 @@ static char *parseArgv(int argc, char **argv) {
} }
break; break;
case -'T': case -'T':
warning("`--output-tilemap` is deprecated, use `--auto-tilemap` instead"); warning("`--output-tilemap` is deprecated; use `--auto-tilemap` instead");
[[fallthrough]]; [[fallthrough]];
case 'T': case 'T':
localOptions.autoTilemap = true; localOptions.autoTilemap = true;