summaryrefslogtreecommitdiff
path: root/testing/toxic
diff options
context:
space:
mode:
authorSean Qureshi <stqism@risingstormgames.com>2013-08-07 09:35:37 -0700
committerSean Qureshi <stqism@risingstormgames.com>2013-08-07 09:35:37 -0700
commit2b916b96bd46823afe28ff0a798a4995d0e99067 (patch)
tree9417ea9876be5c14c1775d96304d9fbbc6ee2d84 /testing/toxic
parentc02e1a095cec0e76d500ec7f22763a928e361d00 (diff)
Fixed it not compiling
Diffstat (limited to 'testing/toxic')
-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 }