summaryrefslogtreecommitdiff
path: root/lualibs-table.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-21 12:37:57 -0700
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-21 12:37:57 -0700
commit814392cdbd7fb04508e8def277b9620d1254ab60 (patch)
treed3ffdc7f7e2610282e49f332c9b449096bff128a /lualibs-table.lua
parentf8214ffa33cdbab047551e1b49e3b2a0e852dd3e (diff)
parentb95a6d8e0607155b2419e3731b8e4a050183a42c (diff)
downloadlualibs-814392cdbd7fb04508e8def277b9620d1254ab60.tar.gz
Merge pull request #12 from phi-gamma/master
sync
Diffstat (limited to 'lualibs-table.lua')
-rw-r--r--lualibs-table.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualibs-table.lua b/lualibs-table.lua
index e57abe8..9a1b97f 100644
--- a/lualibs-table.lua
+++ b/lualibs-table.lua
@@ -120,7 +120,7 @@ local function sortedhash(t,cmp)
if t then
local s
if cmp then
- -- it would be nice if teh sort function would accept a third argument (or nicer, an optional first)
+ -- it would be nice if the sort function would accept a third argument (or nicer, an optional first)
s = sortedhashkeys(t,function(a,b) return cmp(t,a,b) end)
else
s = sortedkeys(t) -- the robust one