[Scummvm-cvs-logs] CVS: web index.php,1.23,1.24

Eugene Sandulenko sev at users.sourceforge.net
Thu Aug 11 17:34:07 CEST 2005


Update of /cvsroot/scummvm/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19270

Modified Files:
	index.php 
Log Message:
Fix bug which disabled random screenshot on main page.


Index: index.php
===================================================================
RCS file: /cvsroot/scummvm/web/index.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- index.php	26 Jun 2005 11:19:44 -0000	1.23
+++ index.php	12 Aug 2005 00:31:49 -0000	1.24
@@ -26,7 +26,7 @@
 
 // counter vars
 srand((double) microtime() * 1000000);
-$randImg = rand(0, screenshots_count - 1);
+$randImg = rand(0, $screenshots_count - 1);
 
 echo html_round_frame_start("About ScummVM","");
 ?>





More information about the Scummvm-git-logs mailing list