cvs: pear /PECL_Gen/Element Logo.php
| From: | Hartmut Holzgraefe | Date: | Wed, 18 Feb 2004 21:40:09 +0000 |
| Subject: | cvs: pear /PECL_Gen/Element Logo.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-16649@lists.php.net to get a copy of this message | ||
hholzgra Wed Feb 18 16:40:09 2004 EDT
Modified files:
/pear/PECL_Gen/Element Logo.php
Log:
fix code generation for phpinfo() logos
http://cvs.php.net/diff.php/pear/PECL_Gen/Element/Logo.php?r1=1.5&r2=1.6&ty=u
Index: pear/PECL_Gen/Element/Logo.php
diff -u pear/PECL_Gen/Element/Logo.php:1.5 pear/PECL_Gen/Element/Logo.php:1.6
--- pear/PECL_Gen/Element/Logo.php:1.5 Sun Oct 12 09:29:13 2003
+++ pear/PECL_Gen/Element/Logo.php Wed Feb 18 16:40:08 2004
@@ -16,7 +16,7 @@
// | Authors: Hartmut Holzgraefe <hholzgra@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Logo.php,v 1.5 2003/10/12 13:29:13 hholzgra Exp $
+// $Id: Logo.php,v 1.6 2004/02/18 21:40:08 hholzgra Exp $
//
/**
@@ -85,7 +85,7 @@
*/
function minit_code()
{
- return " php_register_info_logo({$this->id}, \"{$this->mime_type}\",
{$this->name}_logo, ".strlen($this->data)."});\n";
+ return " php_register_info_logo({$this->id}, \"{$this->mime_type}\",
{$this->name}_logo, ".strlen($this->data).");\n";
}
/**
@@ -98,6 +98,8 @@
function c_code($name)
{
return "
+#include \"php_logos.h\"
+
static unsigned char {$this->name}_logo[] = {
#include \"{$this->name}_logo.h\"
};