From b343dcdcb4e6b9297257dc066885aa530b8a04c1 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 12 Dec 2022 13:04:40 -0500 Subject: Fix path completion --- tnslc/paths.tnsl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tnslc/paths.tnsl') 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 ;/ -- cgit v1.2.3