From f6267ce1341b5758da5fc9ef838b04f60f9c6ccf Mon Sep 17 00:00:00 2001 From: David Coallier Date: Sat, 19 Jan 2008 19:47:41 +0000 Subject: [PATCH] - Wrong icu call, now using u_strToLower correctly --- ext/standard/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index aae82e4c9f..f1b553de77 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -3866,7 +3866,7 @@ static void php_u_lcfirst(UChar *ustr, int ustr_len, zval *return_value TSRMLS_D UErrorCode status = U_ZERO_ERROR; U16_FWD_1(ustr, pos, ustr_len); - tmp_len = u_strToUpper(tmp, sizeof(tmp)/sizeof(UChar), ustr, pos, UG(default_locale), &status); + tmp_len = u_strToLower(tmp, sizeof(tmp)/sizeof(UChar), ustr, pos, UG(default_locale), &status); Z_USTRVAL_P(return_value) = eumalloc(tmp_len + ustr_len - pos+1); -- 2.50.1