Merge pull request #2201 from bastos1505/patch-1

Thank you for this change.
This commit is contained in:
Philip Gladstone 2017-12-19 21:43:22 -05:00 committed by GitHub
commit bee404c358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ static int file_readline( lua_State* L )
{
GET_FILE_OBJ;
return file_g_read(L, LUAL_BUFFERSIZE, '\n', fd);
return file_g_read(L, FILE_READ_CHUNK, '\n', fd);
}
// Lua: write("string")