Small fix for multitable
authorMatthew Wild <mwild1@gmail.com>
Sat, 6 Dec 2008 03:40:51 +0000 (03:40 +0000)
committerMatthew Wild <mwild1@gmail.com>
Sat, 6 Dec 2008 03:40:51 +0000 (03:40 +0000)
util/multitable.lua

index a3bfe946314daf4512c9fc442227c5061c745dc1..1e22c4dddef38a99095d4fa4ad445d9a47d90ad5 100644 (file)
@@ -44,7 +44,7 @@ local function add(self, ...)
                if not tab then tab = {}; t[key] = tab; end
                t = tab;
        end
-       t_insert(t, select(count, ...));
+       t_insert(t, (select(count, ...)));
 end
 
 local function r(t, n, _end, ...)