r2h2 fix symbols being skipped if last

This commit is contained in:
UndeadMaelys
2022-05-04 21:32:24 +02:00
parent 947542d7d0
commit ff91c9ce0e
3 changed files with 33 additions and 33 deletions

View File

@@ -228,7 +228,7 @@ function convertToHeonian(text)
-- debug log
if debug then print(" [!] no idea; moving on to next [".. pos + 1 .."]") end
-- no idea
transcribed_text = transcribed_text .. string.sub(text,i+1,i+1)
transcribed_text = transcribed_text .. string.sub(text,i,i)
i = i + 1
-- debug log
if debug then print(" >>> adjusting by (1) from [".. pos .. "] to [".. i .. "]" ) end