starting to convert all file reads to the new API

For starters, this detail was puzzling when I returned to the Game of
Life app.
This commit is contained in:
Kartik K. Agaram 2022-03-06 02:11:28 -08:00
parent f2d29c22f8
commit af9d7a16f3
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@
>function load_file(window, filename)
> local infile = io.open(filename, 'r')
> if infile == nil then return end
> local line_index = lines
> local line_index = lines -- quarter of the way down in pixels
> for line in infile:lines() do
> if line:sub(1,1) ~= '!' then -- comment; plaintext files can't have whitespace before comments
> local col_index = cols