From 2186e84de0c0fd47ba48eaa35f74ea2754c3b81f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 27 Mar 2025 14:12:35 -0400 Subject: [PATCH] Remove dead code for paths --- src/stdlib/text.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/stdlib/text.c b/src/stdlib/text.c index bfaa058..c2ee461 100644 --- a/src/stdlib/text.c +++ b/src/stdlib/text.c @@ -1203,12 +1203,6 @@ static INLINE Text_t _quoted(Text_t text, bool colorize, char quote_char) public Text_t Text$as_text(const void *vtext, bool colorize, const TypeInfo_t *info) { (void)info; - if (info->TextInfo.lang && streq(info->TextInfo.lang, "Path")) { - if (!vtext) return Text("Path"); - Text_t text = *(Text_t*)vtext; - return Text$format("(%s%k%s)", colorize ? "\x1b[35m" : "", &text, colorize ? "\x1b[m" : ""); - } - if (!vtext) return info && info->TextInfo.lang ? Text$from_str(info->TextInfo.lang) : Text("Text"); Text_t text = *(Text_t*)vtext;