summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/msgformat/msgformat_parse.c')
-rwxr-xr-xext/intl/msgformat/msgformat_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/msgformat/msgformat_parse.c b/ext/intl/msgformat/msgformat_parse.c
index f540b1d0c4..413d3b1f15 100755
--- a/ext/intl/msgformat/msgformat_parse.c
+++ b/ext/intl/msgformat/msgformat_parse.c
@@ -126,7 +126,7 @@ PHP_FUNCTION( msgfmt_parse_message )
}
if(slocale_len == 0) {
- slocale = INTL_G(default_locale);
+ slocale = intl_locale_get_default(TSRMLS_C);
}
#ifdef MSG_FORMAT_QUOTE_APOS