On Sat, Feb 04, 2023 at 12:15:29PM +0100, wim wrote:
> ---
> 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
> 
> 

Hi,

Like I said on IRC (you didn't respond): please be more detailed next time.
Even though this patch is trivial, some explanation describing the issue and
some steps to reproduce it makes it much easier to review etc.

Also the patch white-space was garbled,

Otherwise, thanks for the patch.

-- 
Kind regards,
Hiltjo

Reply via email to