dmitry Mon Aug 22 10:14:14 2005 EDT
Modified files:
/php-src/ext/standard string.c
Log:
Fixed unicode support for ltrim()
http://cvs.php.net/diff.php/php-src/ext/standard/string.c?r1=1.469&r2=1.470&ty=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.469 php-src/ext/standard/string.c:1.470
--- php-src/ext/standard/string.c:1.469 Fri Aug 19 18:00:21 2005
+++ php-src/ext/standard/string.c Mon Aug 22 10:14:10 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.469 2005/08/19 22:00:21 andrei Exp $ */
+/* $Id: string.c,v 1.470 2005/08/22 14:14:10 dmitry Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -715,6 +715,8 @@
}
}
end = i;
+ } else {
+ --end;
}
if ( start < len ) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php