summaryrefslogtreecommitdiff
path: root/ext/intl/normalizer/normalizer_normalize.c
diff options
context:
space:
mode:
authorMarc Easen <marc@easen.co.uk>2012-06-11 21:47:40 +0100
committerStanislav Malyshev <stas@php.net>2012-06-30 16:54:03 -0700
commit896ac689c91967dec0601fa9fe048c518da52a3c (patch)
tree0713aa9ce09ce390ef5325d0040be4052f8862d5 /ext/intl/normalizer/normalizer_normalize.c
parentb8d453d8d4b6a67531aa1c2d0d7bab1e25ed1d4f (diff)
downloadphp-git-896ac689c91967dec0601fa9fe048c518da52a3c.tar.gz
Fixed the common misspelling of the word occurred (occured -> occurred)
Diffstat (limited to 'ext/intl/normalizer/normalizer_normalize.c')
-rwxr-xr-xext/intl/normalizer/normalizer_normalize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/intl/normalizer/normalizer_normalize.c b/ext/intl/normalizer/normalizer_normalize.c
index 466ab97e12..f46285e9d9 100755
--- a/ext/intl/normalizer/normalizer_normalize.c
+++ b/ext/intl/normalizer/normalizer_normalize.c
@@ -110,7 +110,7 @@ PHP_FUNCTION( normalizer_normalize )
/* normalize */
size_needed = unorm_normalize( uinput, uinput_len, form, (int32_t) 0 /* options */, uret_buf, uret_len, &status);
- /* Bail out if an unexpected error occured.
+ /* Bail out if an unexpected error occurred.
* (U_BUFFER_OVERFLOW_ERROR means that *target buffer is not large enough).
* (U_STRING_NOT_TERMINATED_WARNING usually means that the input string is empty).
*/
@@ -133,7 +133,7 @@ PHP_FUNCTION( normalizer_normalize )
/* try normalize again */
size_needed = unorm_normalize( uinput, uinput_len, form, (int32_t) 0 /* options */, uret_buf, uret_len, &status);
- /* Bail out if an unexpected error occured. */
+ /* Bail out if an unexpected error occurred. */
if( U_FAILURE(status) ) {
/* Set error messages. */
intl_error_set_custom_msg( NULL,"Error normalizing string", 0 TSRMLS_CC );
@@ -234,7 +234,7 @@ PHP_FUNCTION( normalizer_is_normalized )
efree( uinput );
- /* Bail out if an unexpected error occured. */
+ /* Bail out if an unexpected error occurred. */
if( U_FAILURE(status) ) {
/* Set error messages. */
intl_error_set_custom_msg( NULL,"Error testing if string is the given normalization form.", 0 TSRMLS_CC );