diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-01-06 16:34:37 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-01-06 16:34:37 +0200 |
commit | 3968133721f2d44fa861d369e4d6765c4ffbb6eb (patch) | |
tree | 1197e7c500fef51612543d6d3b2b96b83d9634f8 /sal | |
parent | bf850f6799e505e6d1735540e68e01c6b18ef22f (diff) |
Argh, I thought I had compiled this;)
Change-Id: I5619e26e5afbe8e6532204feb60b87f6a7875ee0
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/nlsupport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/nlsupport.c b/sal/osl/unx/nlsupport.c index b0f231f5c539..60e21b8e8aa1 100644 --- a/sal/osl/unx/nlsupport.c +++ b/sal/osl/unx/nlsupport.c @@ -911,7 +911,7 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale ) /* No locale environment variables on Android, so why even bother * with getenv(). */ - locale = "en-US.UTF-8"; + char * locale = "en-US.UTF-8"; #else /* simulate behavior off setlocale */ char * locale = getenv( "LC_ALL" ); @@ -925,8 +925,8 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale ) if( NULL == locale ) locale = "C"; - *ppLocale = _parse_locale( locale ); #endif + *ppLocale = _parse_locale( locale ); } #endif |