mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-20 22:04:32 +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;
|
||||
default:
|
||||
error("Unknown background color specification \"%s\"", arg);
|
||||
return;
|
||||
}
|
||||
|
||||
if (arg[size + 1] != '\0') {
|
||||
|
||||
Reference in New Issue
Block a user