]> granicus.if.org Git - php/commitdiff
- Fixed some typos.
authorfoobar <sniper@php.net>
Sat, 16 Mar 2002 22:19:33 +0000 (22:19 +0000)
committerfoobar <sniper@php.net>
Sat, 16 Mar 2002 22:19:33 +0000 (22:19 +0000)
ext/ming/ming.c

index c8fa54485e28a10a14a6250ac7ac783b0101c608..41e341de4a7649939a393d45af3a9925ec205702 100644 (file)
@@ -1157,13 +1157,13 @@ PHP_FUNCTION(swffont_init)
     php_stream * stream;
        FILE * file;
        
-    stream = php_stream_open_wrapper(Z_STRVAL_PP(zfile), "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL, TSRMLS_CC);
+    stream = php_stream_open_wrapper(Z_STRVAL_PP(zfile), "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL TSRMLS_CC);
 
     if(stream == NULL) {
                RETURN_FALSE;
        }
 
-       if (FAILURE = php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void*)&file, REPORT_ERRORS))
+       if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void*)&file, REPORT_ERRORS))
        {
                php_stream_close(stream);
                RETURN_FALSE;
@@ -1181,6 +1181,7 @@ PHP_FUNCTION(swffont_init)
   add_property_resource(getThis(), "font", ret);
   zend_list_addref(ret);
 }
+
 static void destroy_SWFFont_resource(zend_rsrc_list_entry *resource TSRMLS_DC)
 {
   destroySWFBlock((SWFBlock)resource->ptr);
@@ -1601,7 +1602,7 @@ PHP_FUNCTION(swfmovie_save)
 
   convert_to_string_ex(x);
 
-  stream = php_stream_open_wrapper(Z_STRVAL_PP(x), "wb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL, TSRMLS_CC);
+  stream = php_stream_open_wrapper(Z_STRVAL_PP(x), "wb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL TSRMLS_CC);
 
   if (stream == NULL)
          RETURN_FALSE;