refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-23 04:58:46 +02:00
parent 85d2e578e4
commit 5f03b95e8f
26 changed files with 209 additions and 225 deletions
+2 -2
View File
@@ -926,7 +926,7 @@ local methods = {
end
end,
SetSort = function(self, ...)
SetSort = function(self, ...) temp=arg
for k=1,arg.n do
for i, sort in self.sorts do
if sort.index == abs(arg[k]) then
@@ -934,7 +934,7 @@ local methods = {
break
end
end
tinsert(self.sorts, 1, { index = abs(arg[k]), descending = arg[k] < 0 })
tinsert(self.sorts, 1, {index=abs(arg[k]), descending=arg[k] < 0 })
end
self.isSorted = nil