Author: crimson_penguin
Date: Thu Sep 11 20:16:14 2008
New Revision: 29397

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29397&view=rev
Log:
Silenced some division by zero error messages

Modified:
    
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php

Modified: 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php?rev=29397&r1=29396&r2=29397&view=diff
==============================================================================
--- 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php
 (original)
+++ 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php
 Thu Sep 11 20:16:14 2008
@@ -218,7 +218,7 @@
 
 ?>
        </td>
-<? if(($stat[0]==1) || ($total == 0)){ ?>
+<? if(($stat[0]==1) || ($total == 0) || ($stat[5] == 0)){ ?>
        <td colspan="8">Error in <? echo $stat[4] ; ?> translation files</td>
 <? }else{ ?>
     <td align="right"><? echo $stat[1]; ?></td>


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to