mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-05 05:17:06 +00:00
Avoid redundant "Unexpected text" error message after "Unknown" error
This commit is contained in:
@@ -708,6 +708,7 @@ void parseBackgroundPalSpec(char const *arg) {
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
error("Unknown background color specification \"%s\"", arg);
|
error("Unknown background color specification \"%s\"", arg);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arg[size + 1] != '\0') {
|
if (arg[size + 1] != '\0') {
|
||||||
|
|||||||
Reference in New Issue
Block a user