]> granicus.if.org Git - php/commitdiff
- php_u_stristr: s/codepts/codepoints/ - make Jani happy
authorRolland Santimano <rolland@php.net>
Sat, 22 Oct 2005 13:32:51 +0000 (13:32 +0000)
committerRolland Santimano <rolland@php.net>
Sat, 22 Oct 2005 13:32:51 +0000 (13:32 +0000)
ext/standard/string.c

index 53c09c169abcebd95c30a061a5ac0aec4fc04241..63c03640126375d5ad476ca23c06a524123be2df 100644 (file)
@@ -1917,7 +1917,7 @@ PHP_FUNCTION(pathinfo)
 
 /* {{{ php_u_stristr
    Unicode version of case insensitve strstr */
-PHPAPI UChar *php_u_stristr(UChar *s, UChar *t, int32_t s_len, int32_t t_len)
+\PHPAPI UChar *php_u_stristr(UChar *s, UChar *t, int32_t s_len, int32_t t_len)
 {
        int32_t i,j, last;
        UChar32 ch1, ch2;
@@ -1926,12 +1926,12 @@ PHPAPI UChar *php_u_stristr(UChar *s, UChar *t, int32_t s_len, int32_t t_len)
           by changing codepoints, and an offset within the lower-case &
           upper-case strings might be different codepoints.
 
-          Find an occurrence of the first codept of 't' in 's', and
-          starting from this point, match the rest of the codepts of 't'
-          with those in 's'. Comparisons are performed against lower-case
-          equivalents of the codepoints being matched.
+          Find an occurrence of the first codepoint of 't' in 's', and
+          starting from this point, match the rest of the codepoints of
+          't' with those in 's'. Comparisons are performed against
+          lower-case equivalents of the codepoints being matched.
 
-          'i' & 'j' are indices used for extracting codepts 'ch1' &
+          'i' & 'j' are indices used for extracting codepoints 'ch1' &
           'ch2'. 'last' is offset in 's' where the search for 't'
           started, and indicates beginning of 't' in 's' for a successful
           match.