summaryrefslogtreecommitdiff
path: root/Src/prompt.c
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-05-08 05:47:24 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-05-08 05:47:24 +0200
commit5615b53bbf3578a91bab8658b38d0352433510e7 (patch)
treebdf29751a810afd43ab7497d47229ba64d5707e8 /Src/prompt.c
parent514524ee7be382a740e53e2a7c0247f2d68d7730 (diff)
parent9529af723604dfe1c8152db11e1d216621c898d5 (diff)
downloadzsh-5615b53bbf3578a91bab8658b38d0352433510e7.tar.gz
zsh-5615b53bbf3578a91bab8658b38d0352433510e7.zip
Update upstream source from tag 'upstream/5.8.1.3-test'
Update to upstream version '5.8.1.3-test' with Debian dir db59cf6a81e7a92e349f815dc21759ccb7ed689a
Diffstat (limited to 'Src/prompt.c')
-rw-r--r--Src/prompt.c2
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);