summaryrefslogtreecommitdiff
path: root/tnslc/paths.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-12-12 13:04:40 -0500
committerKyle Gunger <kgunger12@gmail.com>2022-12-12 13:04:40 -0500
commitb343dcdcb4e6b9297257dc066885aa530b8a04c1 (patch)
treed77ab78f4935f477ee3945ef610658b25d2ba2d9 /tnslc/paths.tnsl
parent069eb0fc2edf1f40fd1fff6584e430c111471859 (diff)
Fix path completion
Diffstat (limited to 'tnslc/paths.tnsl')
-rw-r--r--tnslc/paths.tnsl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tnslc/paths.tnsl b/tnslc/paths.tnsl
index c85da11..1e8c705 100644
--- a/tnslc/paths.tnsl
+++ b/tnslc/paths.tnsl
@@ -58,16 +58,17 @@
;return out
;/
-/; join ({}{}charp s, charp j) [{}charp]
+/; join ({}{}charp s, charp jc) [{}charp]
;{}charp out = ""
/; loop (int i = 0; i < len s) [i++]
/; loop (int j = 0; j < len s{i}) [j++]
;out.append(s{i}{j})
;/
/; if (i < len s - 1)
- ;out.append(j)
+ ;out.append(jc)
;/
;/
+
;return out
;/