From 2b916b96bd46823afe28ff0a798a4995d0e99067 Mon Sep 17 00:00:00 2001 From: Sean Qureshi Date: Wed, 7 Aug 2013 09:35:37 -0700 Subject: Fixed it not compiling --- testing/toxic/prompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c index c4d7d2f1..24b728f3 100644 --- a/testing/toxic/prompt.c +++ b/testing/toxic/prompt.c @@ -54,7 +54,7 @@ static void execute(ToxWindow *self, char *u_cmd) if (cmd[0] == '/') { int i; - for (i = i1; i < strlen(cmd); i++) { //This doesn't work when it doesn't end with a space and another word + for (i = i; i < strlen(cmd); i++) { //This doesn't work when it doesn't end with a space and another word cmd[i - 1] = cmd[i]; //Still working on why } } -- cgit v1.2.3