aboutsummaryrefslogtreecommitdiff
path: root/builtins/text.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-09 19:02:13 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-09 19:02:13 -0500
commitcbdd357b41b4685c669755bfdd29c822d5dcc8c6 (patch)
tree199ee8eaf17a938a9c68198dac95d1ce1f9b8353 /builtins/text.c
parent5131fdff6294b075cc760a8014ef8c9b6d1bf5d8 (diff)
Deprecate secret langs (just use one-member structs)
Diffstat (limited to 'builtins/text.c')
-rw-r--r--builtins/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/text.c b/builtins/text.c
index 70d9be57..4641bc1d 100644
--- a/builtins/text.c
+++ b/builtins/text.c
@@ -25,7 +25,7 @@
public CORD Text__as_text(const void *text, bool colorize, const TypeInfo *info)
{
if (!text) return info->TextInfo.lang;
- CORD ret = info->TextInfo.secret ? "(*****)" : Text__quoted(*(CORD*)text, colorize);
+ CORD ret = Text__quoted(*(CORD*)text, colorize);
if (!streq(info->TextInfo.lang, "Text"))
ret = colorize ? CORD_all("\x1b[1m$", info->TextInfo.lang, "\x1b[m", ret) : CORD_all("$", info->TextInfo.lang, ret);
return ret;