From 9cbfec30c747983b3690f8f8c03b0ce72b31d2eb Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 21 Jul 2026 13:54:11 -0400 Subject: [PATCH] Avoid redundant "Unexpected text" error message after "Unknown" error --- src/gfx/pal_spec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gfx/pal_spec.cpp b/src/gfx/pal_spec.cpp index 40a777d0..5251b4af 100644 --- a/src/gfx/pal_spec.cpp +++ b/src/gfx/pal_spec.cpp @@ -708,6 +708,7 @@ void parseBackgroundPalSpec(char const *arg) { break; default: error("Unknown background color specification \"%s\"", arg); + return; } if (arg[size + 1] != '\0') {