Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/sundown-ffi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Vasilache <nicolasvasilache@users.noreply.github.com>2016-04-05 04:16:36 +0300
committerNicolas Vasilache <nicolasvasilache@users.noreply.github.com>2016-04-05 04:16:36 +0300
commitb536fb1d0dd7bcec9fc635a8c476087538762e48 (patch)
treefea520df42549bf51713d85b043ea4e80663a106
parent7539726a1706afd23f0a072642b14af4fc01edf6 (diff)
Options is uninitialized
I can't see it coming globally from anywhere else, options would also be a pretty brutal global name. Proposing to cleanup in the call.
-rw-r--r--ascii.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/ascii.lua b/ascii.lua
index a66cbe8..6f83e67 100644
--- a/ascii.lua
+++ b/ascii.lua
@@ -383,7 +383,7 @@ end
local function preprocess(txt, style)
local callbacks, tree = createcallbacks(style)
local c_callbacks = ffi.new('struct sd_callbacks', callbacks)
- local markdown = C.sd_markdown_new(0xfff, 16, c_callbacks, options)
+ local markdown = C.sd_markdown_new(0xfff, 16, c_callbacks)
local outbuf = C.sd_bufnew(64)