From: Nuno Lopes Date: Sun, 23 Apr 2006 12:56:10 +0000 (+0000) Subject: upgrade tidy_get_release() to unicode. X-Git-Tag: RELEASE_1_3~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8cf6cbc2469bc9bf03c3a30499956d247e9bc00;p=php upgrade tidy_get_release() to unicode. #say now if anything is wrong before I start upgrading the rest of the functions --- diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 9683939d6d..6f16e2c941 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -1191,7 +1191,7 @@ PHP_FUNCTION(tidy_diagnose) } /* }}} */ -/* {{{ proto string tidy_get_release() +/* {{{ proto string tidy_get_release() U Get release date (version) for Tidy library */ PHP_FUNCTION(tidy_get_release) { @@ -1201,7 +1201,7 @@ PHP_FUNCTION(tidy_get_release) WRONG_PARAM_COUNT; } - RETURN_STRING((char *)tidyReleaseDate(), 1); + RETURN_ASCII_STRING((char *)tidyReleaseDate(), ZSTR_DUPLICATE); } /* }}} */