I honestly don't know what to call it.

It's not a 0.2 release, btw.
This commit is contained in:
LDA 2024-09-26 19:07:46 +02:00
commit 3ceae7b053
13 changed files with 179 additions and 85 deletions

View file

@ -25,7 +25,7 @@ CommandParse(char *cmd)
}
end_data = strchr(cmd, ' ');
if (!end_data)
if (!end_data || (cmd > end_data))
{
ret = Malloc(sizeof(*ret));
ret->command = StrDuplicate(cmd);