From d93eb0ce5710681c6a053eaedd0cbaf1dc60d37d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Czerpak?= Date: Thu, 4 Dec 2014 19:28:46 +0100 Subject: [PATCH] 2014-12-04 19:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c ! fixed typo in recent modification --- ChangeLog.txt | 4 ++++ src/rtl/filesys.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 );