From: David Coallier Date: Sat, 19 Jan 2008 19:47:41 +0000 (+0000) Subject: - Wrong icu call, now using u_strToLower correctly X-Git-Tag: RELEASE_2_0_0a1~840 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6267ce1341b5758da5fc9ef838b04f60f9c6ccf;p=php - Wrong icu call, now using u_strToLower correctly --- 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);