Commit: 0df73a85e19d71612ab3a0ba03061123453ff2e3 Author: Gustavo André dos Santos Lopes <cataphr...@php.net> Mon, 25 Jun 2012 12:06:31 +0200 Parents: d8b067e66f4b458108821df512090ede623df214 Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0df73a85e19d71612ab3a0ba03061123453ff2e3 Log: Fix typo in error message Changed paths: M ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp M ext/intl/tests/breakiter___construct_error.phpt Diff: diff --git a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp index 41ebfe5..f2a39ba 100644 --- a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp +++ b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp @@ -77,7 +77,7 @@ static void _php_intlgregcal_constructor_body(INTERNAL_FUNCTION_PARAMETERS) rbbi = new RuleBasedBreakIterator((uint8_t*)rules, rules_len, status); if (U_FAILURE(status)) { intl_error_set(NULL, status, "rbbi_create_instance: unable to " - "creaete instance from compiled rules", 0 TSRMLS_CC); + "create instance from compiled rules", 0 TSRMLS_CC); RETURN_NULL(); } #else diff --git a/ext/intl/tests/breakiter___construct_error.phpt b/ext/intl/tests/breakiter___construct_error.phpt index 8d6a718..770f140 100644 --- a/ext/intl/tests/breakiter___construct_error.phpt +++ b/ext/intl/tests/breakiter___construct_error.phpt @@ -34,5 +34,5 @@ Warning: IntlRuleBasedBreakIterator::__construct() expects parameter 2 to be boo Warning: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: bad arguments in %s on line %d NULL -Warning: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: unable to creaete instance from compiled rules in %s on line %d +Warning: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: unable to create instance from compiled rules in %s on line %d NULL -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php