From 043f83732c06a092cd12b5ad4f92264dee44c61a Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 8 Jun 2007 13:03:54 +0000 Subject: 20070608-1402 --- appl/acme/exec.b | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appl/acme/exec.b') diff --git a/appl/acme/exec.b b/appl/acme/exec.b index 204b6c37..93a4b67d 100644 --- a/appl/acme/exec.b +++ b/appl/acme/exec.b @@ -1164,7 +1164,7 @@ run(win : ref Window, s : string, rdir : string, ndir : int, newns : int, argadd pipechar := 0; if (t < len s && (s[t] == '<' || s[t] == '|' || s[t] == '>')){ pipechar = s[t++]; - s = s[1: ]; + s = s[t:]; } c.pid = sys->pctl(0, nil); c.iseditcmd = iseditcmd; -- cgit v1.2.3