iliaa           Tue Jan 14 14:59:49 2003 EDT

  Modified files:              
    /php4/ext/cpdf      cpdf.c 
  Log:
  Fixed typos.
  
  
Index: php4/ext/cpdf/cpdf.c
diff -u php4/ext/cpdf/cpdf.c:1.47 php4/ext/cpdf/cpdf.c:1.48
--- php4/ext/cpdf/cpdf.c:1.47   Tue Jan 14 13:54:44 2003
+++ php4/ext/cpdf/cpdf.c        Tue Jan 14 14:59:48 2003
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: cpdf.c,v 1.47 2003/01/14 18:54:44 iliaa Exp $ */
+/* $Id: cpdf.c,v 1.48 2003/01/14 19:59:48 iliaa Exp $ */
 /* cpdflib.h -- C language API definitions for ClibPDF library
  * Copyright (C) 1998 FastIO Systems, All Rights Reserved.
 */
@@ -238,9 +238,8 @@
 PHP_FUNCTION(cpdf_global_set_document_limits)
 {
        zval **argv[5];
-       int argc;
 
-       if (ZEND_NUM_ARGS() != 5 || (zend_get_parameters_array_ex(argc, argv) == 
FAILURE)) {
+       if (ZEND_NUM_ARGS() != 5 || (zend_get_parameters_array_ex(5, argv) == 
+FAILURE)) {
                WRONG_PARAM_COUNT;
        }
 
@@ -883,6 +882,7 @@
 
        CPDF_FETCH_CPDFDOC(arg1);
        convert_to_array_ex(arg2);
+       matrix = Z_ARRVAL_P(arg2);
        
        if(zend_hash_num_elements(matrix) != 6) {
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "Text matrix must have 6 
elements");



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

Reply via email to