diff --git a/harbour/ChangeLog b/harbour/ChangeLog index efa6e4094f..f4d2141671 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ +2012-04-23 13:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * harbour/src/rtl/filesys.c + ! fixed typo in last commit which disabled filename translations + in hb_fsNameConv*() functions. + 2012-04-22 09:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbide/idedocwriter.prg diff --git a/harbour/src/rtl/filesys.c b/harbour/src/rtl/filesys.c index f2ac7e76bf..34a9331303 100644 --- a/harbour/src/rtl/filesys.c +++ b/harbour/src/rtl/filesys.c @@ -3744,7 +3744,7 @@ const char * hb_fsNameConv( const char * szFileName, char ** pszFree ) if( pszFree ) *pszFree = NULL; - if( hb_vmIsReady() ) + if( !hb_vmIsReady() ) return szFileName; fTrim = hb_setGetTrimFileName(); @@ -3885,7 +3885,7 @@ HB_WCHAR * hb_fsNameConvU16( const char * szFileName ) TRIMFILENAME - strip trailing and leading spaces (also from extension) */ - if( hb_vmIsReady() ) + if( !hb_vmIsReady() ) return hb_mbtowc( szFileName ); /* No HVM stack */ cdp = hb_vmCDP();