Zero-index the lookup tables and the code that references them.
This commit is contained in:
parent
e7906b4ca3
commit
a4da53086b
4 changed files with 47 additions and 47 deletions
|
@ -200,7 +200,7 @@ void MAPLIN(FILE *OPENED) {
|
|||
LNLENG = 0;
|
||||
for (size_t i = 1; i <= sizeof(INLINE) && INLINE[i] != 0; ++i)
|
||||
{
|
||||
char val = INLINE[i] + 1;
|
||||
char val = INLINE[i];
|
||||
INLINE[i] = ascii_to_advent[(unsigned)val];
|
||||
if (INLINE[i] != 0)
|
||||
LNLENG = i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue