diff options
| -rw-r--r-- | st.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1932,8 +1932,10 @@ strhandle(void) | |||
| 1932 | if (p && !strcmp(p, "?")) { | 1932 | if (p && !strcmp(p, "?")) { |
| 1933 | osc_color_response(j, 0, 1); | 1933 | osc_color_response(j, 0, 1); |
| 1934 | } else if (xsetcolorname(j, p)) { | 1934 | } else if (xsetcolorname(j, p)) { |
| 1935 | if (par == 104 && narg <= 1) | 1935 | if (par == 104 && narg <= 1) { |
| 1936 | xloadcols(); | ||
| 1936 | return; /* color reset without parameter */ | 1937 | return; /* color reset without parameter */ |
| 1938 | } | ||
| 1937 | fprintf(stderr, "erresc: invalid color j=%d, p=%s\n", | 1939 | fprintf(stderr, "erresc: invalid color j=%d, p=%s\n", |
| 1938 | j, p ? p : "(null)"); | 1940 | j, p ? p : "(null)"); |
| 1939 | } else { | 1941 | } else { |
