---
st.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/st.c b/st.c
index 62def59..6b9abc0 100644
--- a/st.c
+++ b/st.c
@@ -1932,9 +1932,11 @@ strhandle(void)
if (p && !strcmp(p, "?")) {
osc_color_response(j, 0, 1);
} else if (xsetcolorname(j, p)) {
- if (par == 104 && narg <= 1)
- return; /* color reset without parameter */
- fprintf(stderr, "erresc: invalid color j=%d, p=%s\n",
+ if (par == 104 && narg <= 1){/* color reset without parameter */
+ xloadcols();
+ return;
+ }
+ fprintf(stderr, "erresc: invalid color j=%d, p=%s\n",
j, p ? p : "(null)");
} else {
/*

--
2.39.1


Reply via email to