Fix off-by-one loop error
dblume

dblume commited on 2023-03-10 20:26:59
Showing 2 changed files, with 3 additions and 3 deletions.

... ...
@@ -36,7 +36,7 @@ sub printAA(aa)
36 36
         if type(val) = "roByteArray"
37 37
             m.top.updateText = "  " + key + " = a byte array"
38 38
         elseif type(val) = "roArray"
39
-            for i=0 to val.Count()
39
+            for i=0 to val.Count() - 1
40 40
                 m.top.updateText = "  " + key + "[" + i.toStr() + "] = " + val[i]
41 41
             end for
42 42
         else
... ...
@@ -1,7 +1,7 @@
1 1
 title=dxb
2 2
 major_version=0
3
-minor_version=4
4
-build_version=7
3
+minor_version=5
4
+build_version=0
5 5
 ui_resolutions=fhd
6 6
 mm_icon_focus_hd=pkg:/images/mm_icon_focus_hd.png
7 7
 mm_icon_focus_sd=pkg:/images/mm_icon_focus_sd.png
8 8