aboutsummaryrefslogtreecommitdiff
path: root/examples/tomodeps
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-01 16:53:58 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-03-01 16:53:58 -0500
commit37e96dbda5ee7b599c3659008c94907fdc8425a2 (patch)
tree6e1086a00789071583f1df4dc9e10baacf52334d /examples/tomodeps
parentb0483e842973575a51bb3672acf5182ccd212763 (diff)
Change `lang.text_content` to `lang.text`
Diffstat (limited to 'examples/tomodeps')
-rw-r--r--examples/tomodeps/tomodeps.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tomodeps/tomodeps.tm b/examples/tomodeps/tomodeps.tm
index 3ff48f98..48c026e9 100644
--- a/examples/tomodeps/tomodeps.tm
+++ b/examples/tomodeps/tomodeps.tm
@@ -66,9 +66,9 @@ func _printable_name(dep:Dependency -> Text):
is File(f):
f = f:relative()
if f:exists():
- return "$(f.text_content)"
+ return "$(f.text)"
else:
- return "$(\x1b)[31;1m$(f.text_content) (not found)$(\x1b)[m"
+ return "$(\x1b)[31;1m$(f.text) (not found)$(\x1b)[m"
func _draw_tree(dep:Dependency, dependencies:{Dependency,{Dependency}}, already_printed:@{Dependency}, prefix="", is_last=yes):
if already_printed:has(dep):