diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-06-30 04:05:24 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-06-30 04:05:24 +0300 |
commit | 4a2e40bb861bc3cf5fb6863e57486ed60316e97c (patch) | |
tree | 6579660b282fdd1bc50095e48d702913a0b6aa97 /ext/intl/locale | |
parent | 8cce5b2641fb91c3073018b59f6f044b843041a8 (diff) | |
download | php-git-4a2e40bb861bc3cf5fb6863e57486ed60316e97c.tar.gz |
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
Diffstat (limited to 'ext/intl/locale')
-rw-r--r-- | ext/intl/locale/locale_methods.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/locale/locale_methods.c b/ext/intl/locale/locale_methods.c index 536792e853..7b36d61c02 100644 --- a/ext/intl/locale/locale_methods.c +++ b/ext/intl/locale/locale_methods.c @@ -235,7 +235,7 @@ PHP_NAMED_FUNCTION(zif_locale_set_default) RETURN_FALSE; } - if (locale_name->len == 0) { + if (ZSTR_LEN(locale_name) == 0) { default_locale = (char *)uloc_getDefault(); locale_name = zend_string_init(default_locale, strlen(default_locale), 0); } |