diff options
| author | Alexander Gavrilov | 2012-05-08 19:08:34 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-05-08 19:08:34 +0400 |
| commit | d6813c7690f378ba58db6ce51a26b172b91524e9 (patch) | |
| tree | d97b0342da0d5f5bcdd966571d59e62cecdc2d8a /library/lua | |
| parent | 191071beb6730f9575b737fdae39db6572ebd3f4 (diff) | |
| download | dfhack-d6813c7690f378ba58db6ce51a26b172b91524e9.tar.gz dfhack-d6813c7690f378ba58db6ce51a26b172b91524e9.tar.bz2 dfhack-d6813c7690f378ba58db6ce51a26b172b91524e9.tar.xz | |
Change xml submodule pointer.
Diffstat (limited to 'library/lua')
| -rw-r--r-- | library/lua/utils.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/lua/utils.lua b/library/lua/utils.lua index 68f5731a..96ab2b19 100644 --- a/library/lua/utils.lua +++ b/library/lua/utils.lua @@ -290,7 +290,7 @@ function insert_sorted(vector,item,field,cmp) end -- Binary search, then insert or overwrite -function insert_or_replace(vector,item,field,cmp) +function insert_or_update(vector,item,field,cmp) local added,cur,pos = insert_sorted(vector,item,field,cmp) if not added then vector[pos] = item |
