fixed function writer

This commit is contained in:
Axel Kittenberger 2012-03-22 19:52:14 +01:00
parent 523d074217
commit 79198366b7

View File

@ -2282,8 +2282,8 @@ local functionWriter = (function()
-- TODO do array joining instead
ft = ft..
" log('Normal', 'Event ',event.etype,\n"..
" ' spawns shell \""..lc.."\"')\n"..
" spawnShell(event, '"..cmd.."'"
" [[ spawns shell \""..lc.."\"]])\n"..
" spawnShell(event, [["..cmd.."]]"
for _, v in ipairs(args) do
ft = ft..',\n '..v
end