summaryrefslogtreecommitdiff
path: root/testing/toxic/prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/toxic/prompt.c')
-rw-r--r--testing/toxic/prompt.c2
1 files changed, 1 insertions, 1 deletions
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)
54 54
55 if (cmd[0] == '/') { 55 if (cmd[0] == '/') {
56 int i; 56 int i;
57 for (i = i1; i < strlen(cmd); i++) { //This doesn't work when it doesn't end with a space and another word 57 for (i = i; i < strlen(cmd); i++) { //This doesn't work when it doesn't end with a space and another word
58 cmd[i - 1] = cmd[i]; //Still working on why 58 cmd[i - 1] = cmd[i]; //Still working on why
59 } 59 }
60 } 60 }