aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2025-05-14 00:11:02 +0300
committerGitHub <noreply@github.com>2025-05-14 00:11:02 +0300
commit76dba2ea02048b587d10ccdf777b0875369f362c (patch)
treeb0b10ec8a6bdc681d61364678eceb29a3f10e793 /libcxx/src
parent70a3a1b8e5907c42f30980d61a73e15318ae1ae8 (diff)
downloadllvm-76dba2ea02048b587d10ccdf777b0875369f362c.zip
llvm-76dba2ea02048b587d10ccdf777b0875369f362c.tar.gz
llvm-76dba2ea02048b587d10ccdf777b0875369f362c.tar.bz2
[libcxx] Fix a comment link for the unicode NBSP char. NFC. (#139692)
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/locale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp
index 9ea59a3..b3ec2895 100644
--- a/libcxx/src/locale.cpp
+++ b/libcxx/src/locale.cpp
@@ -3957,7 +3957,7 @@ static bool is_narrow_non_breaking_space(const char* ptr) {
}
static bool is_non_breaking_space(const char* ptr) {
- // https://www.fileformat.info/info/unicode/char/0a/index.htm
+ // https://www.fileformat.info/info/unicode/char/a0/index.htm
return ptr[0] == '\xc2' && ptr[1] == '\xa0';
}
#endif // _LIBCPP_HAS_WIDE_CHARACTERS