[dongle commit] r655 - trunk/OptionHouse

0 views
Skip to first unread message

codesite...@google.com

unread,
Nov 28, 2007, 3:32:06 PM11/28/07
to dongle...@googlegroups.com
Author: joshborke
Date: Wed Nov 28 12:31:33 2007
New Revision: 655

Modified:
trunk/OptionHouse/OptionHouse.lua

Log:
OH: fix sorting bug

Modified: trunk/OptionHouse/OptionHouse.lua
==============================================================================
--- trunk/OptionHouse/OptionHouse.lua (original)
+++ trunk/OptionHouse/OptionHouse.lua Wed Nov 28 12:31:33 2007
@@ -420,8 +420,12 @@
local function sortCategories(a, b)
if( not b ) then
return false
+ elseif( not a ) then
+ return true
end

+ if not a.data then return true end
+ if not b.data then return false end
local aType = type(a.data.sortID)
local bType = type(b.data.sortID)

Reply all
Reply to author
Forward
0 new messages