fix: add first line

This commit is contained in:
starnakin 2023-07-26 14:26:15 +02:00
parent 14325870be
commit 7d48af93de

View File

@ -52,7 +52,7 @@ main()
text = galloc(3);
if (text == NULL)
return 1;
[text + LOCATION_CURRENT_LINE] = 0;
[text + LOCATION_CURRENT_LINE] = 0 - 1;
[text + LOCATION_LENGTH] = 0;
[text + LOCATION_ARRAY];
[text + LOCATION_ARRAY] = galloc(0);