georg Fri Jun 6 15:02:31 2003 EDT Modified files: /php4/ext/ncurses ncurses_functions.c Log: fixed bug #24060 Index: php4/ext/ncurses/ncurses_functions.c diff -u php4/ext/ncurses/ncurses_functions.c:1.38 php4/ext/ncurses/ncurses_functions.c:1.39 --- php4/ext/ncurses/ncurses_functions.c:1.38 Mon Mar 17 08:04:08 2003 +++ php4/ext/ncurses/ncurses_functions.c Fri Jun 6 15:02:30 2003 @@ -2235,15 +2235,13 @@ PHP_FUNCTION(ncurses_del_panel) { zval *handle; - PANEL **panel; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &handle) == FAILURE) { return; } + zend_list_delete(Z_RESVAL_PP(handle)); - FETCH_PANEL(panel, &handle); - - RETURN_LONG(del_panel(*panel)); + RETURN_TRUE; } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php