From fb69e94a89cffb8e142aa86afab85b425b74d30b Mon Sep 17 00:00:00 2001 From: Geoff Leyland Date: Fri, 13 Feb 2015 10:29:14 +1300 Subject: [PATCH] fix argument to makename in openstring --- lua/csv.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/csv.lua b/lua/csv.lua index a7ec2fd..78f19c5 100644 --- a/lua/csv.lua +++ b/lua/csv.lua @@ -541,7 +541,7 @@ local function openstring( 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 return use(filecontents, parameters) end