This commit is contained in:
starnakin 2023-07-26 14:25:01 +02:00
parent 83b4d65eca
commit 14325870be

View File

@ -9,6 +9,12 @@ parsing(text, cmd_ptr)
input = geadline("(default)");
if (input == NULL)
return 1;
if (strcmp(input, ".") == 0)
{
free(input);
[cmd_ptr] = strdup("p");
return [cmd_ptr] == NULL;
}
if (isdigit([input]) == 1)
{
line_application = aton(input);