This commit is contained in:
starnakin 2023-07-29 20:24:46 +02:00
parent 2d1c5ee458
commit 1f1a11f886

View File

@ -45,9 +45,9 @@ get_number(data, str)
if ([[str]] == '$') if ([[str]] == '$')
{ {
if (start == 0 - 1) if (start == 0 - 1)
start = data + LOCATION_LENGTH; start = [data + LOCATION_LENGTH] - 1;
else else
stop = data + LOCATION_LENGTH; stop = [data + LOCATION_LENGTH] - 1;
[str] = [str] + 1; [str] = [str] + 1;
} }
else if (isdigit([[str]])) else if (isdigit([[str]]))