projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c225c43
)
entropy: Use Unicode escape sequence in string
author
planet36
<planet36@users.noreply.github.com>
Fri, 28 Oct 2022 15:49:05 +0000
(10:49 -0500)
committer
drkhsh
<me@drkhsh.at>
Mon, 19 Dec 2022 01:44:21 +0000
(
02:44
+0100)
Signed-off-by: drkhsh <me@drkhsh.at>
components/entropy.c
patch
|
blob
|
history
diff --git
a/components/entropy.c
b/components/entropy.c
index 66b2e5a95e39d751151d12d94ff62307c808acf9..65010b0274fc69b6ae02649f36d20db5e7a665c6 100644
(file)
--- a/
components/entropy.c
+++ b/
components/entropy.c
@@
-22,7
+22,8
@@
const char *
entropy(const char *unused)
{
+ // https://www.unicode.org/charts/PDF/U2200.pdf
/* Unicode Character 'INFINITY' (U+221E) */
- return "\
xe2\x88\x9e
";
+ return "\
u221E
";
}
#endif