[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-gtk-doc
Subject:    [PHP-GTK-DOC] cvs: php-gtk-doc /scripts coverage.php
From:       "Christian Weiske" <cweiske () php ! net>
Date:       2006-06-02 20:20:35
Message-ID: cvscweiske1149279635 () cvsserver
[Download RAW message or body]

cweiske		Fri Jun  2 20:20:35 2006 UTC

  Modified files:              
    /php-gtk-doc/scripts	coverage.php 
  Log:
  Fixing yellow color when calendar hat 19/19 methods documented
  
  
http://cvs.php.net/viewcvs.cgi/php-gtk-doc/scripts/coverage.php?r1=1.2&r2=1.3&diff_format=u
Index: php-gtk-doc/scripts/coverage.php
diff -u php-gtk-doc/scripts/coverage.php:1.2 php-gtk-doc/scripts/coverage.php:1.3
--- php-gtk-doc/scripts/coverage.php:1.2	Fri Jun  2 20:12:40 2006
+++ php-gtk-doc/scripts/coverage.php	Fri Jun  2 20:20:35 2006
@@ -191,7 +191,7 @@
         $missing  = $type['missing'];
         $done     = $existing - $missing;
         if ($existing != 0) {
-            $percent  = 100 / $existing * $done;
+            $percent  = intval(100 / $existing * $done);
         } else {
             $percent = -100;
         }

-- 
PHP-GTK Documentation Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic