diff --git a/ChangeLog.txt b/ChangeLog.txt index 2fe6f1183c..ce92e99119 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,10 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2014-12-04 19:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * src/rtl/filesys.c + ! fixed typo in recent modification + 2014-12-04 10:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * contrib/hbct/doc/en/dattime3.txt diff --git a/src/rtl/filesys.c b/src/rtl/filesys.c index 2a6c632dc1..7a9e01e0b6 100644 --- a/src/rtl/filesys.c +++ b/src/rtl/filesys.c @@ -356,7 +356,7 @@ static int fs_win_get_drive( void ) int iDrive = 0; dwResult = GetCurrentDirectory( HB_SIZEOFARRAY( pBuffer ), lpBuffer ); - if( dwResult > HB_SIZEOFARRAY( lpBuffer ) ) + if( dwResult > HB_SIZEOFARRAY( pBuffer ) ) { lpBuffer = ( TCHAR * ) hb_xgrab( dwResult * sizeof( TCHAR ) ); dwResult = GetCurrentDirectory( dwResult, lpBuffer );