commit 3ca54c86c0ea9c84f2f958b40e1a028e0e1cb786
parent 476730f04baa0b92d177e9f52156ee4037ee6e14
Author: Brian C. Lane <bcl@ibrianlane.com>
Date: Sun, 28 Dec 2014 16:09:05 -0800
Fix 1-off error in length of titles array
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/HMS/source/appMediaServer.brs b/HMS/source/appMediaServer.brs
@@ -27,7 +27,7 @@ Function mediaServer( url As String, has_keystore As Boolean ) As Object
end function)
' Setup Grid with categories
- titles = CreateObject("roArray", categories.Count(), false)
+ titles = CreateObject("roArray", categories.Count()+1, false)
titles.Push("Search")
for i = 0 to categories.Count()-1
print "Category: :";categories[i][0]