diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2022-05-08 05:47:08 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2022-05-08 05:47:08 +0200 |
commit | 9529af723604dfe1c8152db11e1d216621c898d5 (patch) | |
tree | a512727d6ea897041fca8a6b09f7d5ddd753d7f1 /Src/prompt.c | |
parent | b09f4483416c54c1782824633dfabaf2ec0265b6 (diff) | |
parent | 32100208ecc26f8b70a0dbef6298bfd2b823d8d0 (diff) | |
download | zsh-9529af723604dfe1c8152db11e1d216621c898d5.tar.gz zsh-9529af723604dfe1c8152db11e1d216621c898d5.zip |
New upstream version 5.8.1.3-test
Diffstat (limited to 'Src/prompt.c')
-rw-r--r-- | Src/prompt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/prompt.c b/Src/prompt.c index 738c7fc7a..092de63a4 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -1666,7 +1666,7 @@ match_colour(const char **teststrp, int is_fg, int colour) tc = TCBGCOLOUR; } if (teststrp) { - if (**teststrp == '#' && isxdigit((*teststrp)[1])) { + if (**teststrp == '#' && isxdigit(STOUC((*teststrp)[1]))) { struct color_rgb color; char *end; zlong col = zstrtol(*teststrp+1, &end, 16); |