From 9e5c88859a1f60ac73198a34c4460e340ad3e6cb Mon Sep 17 00:00:00 2001 From: Sean Qureshi Date: Wed, 7 Aug 2013 09:35:37 -0700 Subject: [PATCH] Fixed it not compiling --- prompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prompt.c b/prompt.c index c4d7d2f..24b728f 100644 --- a/prompt.c +++ b/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 } }