2009-05-16 08:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/lang.c
% Minor opt.
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
past entries belonging to these authors: Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-05-16 08:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* source/rtl/lang.c
|
||||
% Minor opt.
|
||||
|
||||
2009-05-16 08:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* source/rtl/tget.prg
|
||||
! Fixed recent regression causing negative number to be
|
||||
|
||||
@@ -56,22 +56,17 @@
|
||||
|
||||
HB_FUNC( HB_USERLANG )
|
||||
{
|
||||
char * ietf = NULL;
|
||||
BOOL bFree = FALSE;
|
||||
char * ietf;
|
||||
BOOL bFree;
|
||||
|
||||
ietf = hb_getenv( "LC_ALL" );
|
||||
if( ! ietf )
|
||||
{
|
||||
bFree = TRUE;
|
||||
ietf = hb_getenv( "LC_ALL" );
|
||||
ietf = hb_getenv( "LC_MESSAGES" );
|
||||
if( ! ietf )
|
||||
{
|
||||
ietf = hb_getenv( "LC_MESSAGES" );
|
||||
if( ! ietf )
|
||||
ietf = hb_getenv( "LANG" );
|
||||
}
|
||||
if( ! ietf )
|
||||
bFree = FALSE;
|
||||
ietf = hb_getenv( "LANG" );
|
||||
}
|
||||
bFree = ( ietf != NULL );
|
||||
|
||||
#if defined(HB_OS_WIN)
|
||||
if( ! ietf )
|
||||
|
||||
Reference in New Issue
Block a user