mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-13 03:43:02 +01:00
Fixed it not compiling
This commit is contained in:
parent
65694a06c4
commit
9e5c88859a
2
prompt.c
2
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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user