fix argument to makename in openstring

This commit is contained in:
Geoff Leyland 2015-02-13 10:29:14 +13:00
parent b3d3567333
commit fb69e94a89

View File

@ -541,7 +541,7 @@ local function openstring(
parameters = parameters or {} parameters = parameters or {}
parameters.filename = parameters.filename or makename(s) parameters.filename = parameters.filename or makename(filecontents)
parameters.buffer_size = parameters.buffer_size or #filecontents parameters.buffer_size = parameters.buffer_size or #filecontents
return use(filecontents, parameters) return use(filecontents, parameters)
end end