fixes for potential runtimes.

This commit is contained in:
DJSnapshot
2014-06-23 06:17:48 -04:00
committed by ZomgPonies
parent 21a1f2eefe
commit e55208bc69
5 changed files with 15 additions and 8 deletions
+4 -4
View File
@@ -25,16 +25,16 @@
i++
if(i==1)
dat += "<tr>"
if(i>= 7)
if(i>= 6)
i = 0
dat += "</tr>"
continue
dat += {"
<td>
<a href='?src=\ref[src];[fileop]=\ref[F]'>
<center><a href='?src=\ref[src];[fileop]=\ref[F]'>
<img src=\ref[F.image]><br>
<span>[F.name]</span>
</a>
</a></center>
</td>"}
dat += "</tr></table>"
@@ -53,7 +53,7 @@
i++
if(i==1)
dat += "<tr>"
if(i>= 8)
if(i>= 6)
i = 0
dat += "</tr>"
continue