[Mapbender-commits] r3413 - branches/print_dev/http/extensions/fpdf

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jan 7 11:41:23 EST 2009


Author: mschulz
Date: 2009-01-07 11:41:23 -0500 (Wed, 07 Jan 2009)
New Revision: 3413

Modified:
   branches/print_dev/http/extensions/fpdf/mb_fpdi.php
Log:
replaced _freadint with new _readint function

Modified: branches/print_dev/http/extensions/fpdf/mb_fpdi.php
===================================================================
--- branches/print_dev/http/extensions/fpdf/mb_fpdi.php	2009-01-07 16:40:24 UTC (rev 3412)
+++ branches/print_dev/http/extensions/fpdf/mb_fpdi.php	2009-01-07 16:41:23 UTC (rev 3413)
@@ -262,8 +262,8 @@
 	    fread($f,4);
 	    if(fread($f,4)!='IHDR')
 	        $this->Error('Incorrect PNG file: '.$file);
-	    $w=$this->_freadint($f);
-	    $h=$this->_freadint($f);
+	    $w=$this->_readint($f);
+	    $h=$this->_readint($f);
 	    $bpc=ord(fread($f,1));
 	    if($bpc>8)
 	        $this->Error('16-bit depth not supported: '.$file);
@@ -292,7 +292,7 @@
 	    $data='';
 	    do
 	    {
-	        $n=$this->_freadint($f);
+	        $n=$this->_readint($f);
 	        $type=fread($f,4);
 	        if($type=='PLTE')
 	        {



More information about the Mapbender_commits mailing list