diff options
author | Marius <mariausol@gmail.com> | 2012-10-05 22:00:13 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-10-05 22:00:13 +0300 |
commit | f9551155d56f6fb9975360d6d15ec06b08129358 (patch) | |
tree | fa2f1b8816c874376b6ae75f2d2737f715d478bf /scripts | |
parent | 79de38776b605c59379198310cfca59be12ac58d (diff) | |
download | context-f9551155d56f6fb9975360d6d15ec06b08129358.tar.gz |
beta 2012.10.05 19:52
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtxrun.lua | 3 | ||||
-rw-r--r-- | scripts/context/stubs/mswin/mtxrun.lua | 3 | ||||
-rw-r--r-- | scripts/context/stubs/unix/mtxrun | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua index 93901f665..58d0e7f59 100644 --- a/scripts/context/lua/mtxrun.lua +++ b/scripts/context/lua/mtxrun.lua @@ -599,7 +599,8 @@ local function do_serialize(root,name,depth,level,indexed) if compact then last = #root for k=1,last do - if not root[k] then +-- if not root[k] then + if root[k] == nil then last = k - 1 break end diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua index 93901f665..58d0e7f59 100644 --- a/scripts/context/stubs/mswin/mtxrun.lua +++ b/scripts/context/stubs/mswin/mtxrun.lua @@ -599,7 +599,8 @@ local function do_serialize(root,name,depth,level,indexed) if compact then last = #root for k=1,last do - if not root[k] then +-- if not root[k] then + if root[k] == nil then last = k - 1 break end diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun index 93901f665..58d0e7f59 100644 --- a/scripts/context/stubs/unix/mtxrun +++ b/scripts/context/stubs/unix/mtxrun @@ -599,7 +599,8 @@ local function do_serialize(root,name,depth,level,indexed) if compact then last = #root for k=1,last do - if not root[k] then +-- if not root[k] then + if root[k] == nil then last = k - 1 break end |