summaryrefslogtreecommitdiff
path: root/Zend/zend_highlight.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-08-12 00:01:44 +0000
committerfoobar <sniper@php.net>2005-08-12 00:01:44 +0000
commit65210db48ce0fe47394e8b7e65f87bcb434d880b (patch)
treea214e118d980c882562c5a299a1fe00a2cb981b6 /Zend/zend_highlight.c
parent8429f174b89272540d3adf7f3e321eb6e17852ba (diff)
downloadphp-git-65210db48ce0fe47394e8b7e65f87bcb434d880b.tar.gz
Nuked unneeded multibyte stuff
Diffstat (limited to 'Zend/zend_highlight.c')
-rw-r--r--Zend/zend_highlight.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/Zend/zend_highlight.c b/Zend/zend_highlight.c
index 980616ebf0..30d7e6fce6 100644
--- a/Zend/zend_highlight.c
+++ b/Zend/zend_highlight.c
@@ -59,17 +59,6 @@ ZEND_API void zend_html_puts(const char *s, uint len TSRMLS_DC)
{
const char *ptr=s, *end=s+len;
-#ifdef ZEND_MULTIBYTE
- char *filtered;
- int filtered_len;
-
- if (LANG_SCNG(output_filter)) {
- LANG_SCNG(output_filter)(&filtered, &filtered_len, s, len TSRMLS_CC);
- ptr = filtered;
- end = filtered + filtered_len;
- }
-#endif /* ZEND_MULTIBYTE */
-
while (ptr<end) {
if (*ptr==' ') {
do {
@@ -79,12 +68,6 @@ ZEND_API void zend_html_puts(const char *s, uint len TSRMLS_DC)
zend_html_putc(*ptr++);
}
}
-
-#ifdef ZEND_MULTIBYTE
- if (LANG_SCNG(output_filter)) {
- efree(filtered);
- }
-#endif /* ZEND_MULTIBYTE */
}