*** empty log message ***

This commit is contained in:
Ignacio Ortiz de Zuniga
2000-06-14 11:02:22 +00:00
parent 193f05a349
commit d299208af1
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2000-06-14-13:00 GMT +1 Ignacio Ortiz de Zuniga <ignacio@fivetech.com>
* memoline.c
* fixed reported bug
2000-06-13-21:20 GMT -3 Luiz Rafael Culik <culik@sl.conex.net>
*makefile.bc
source/rdd/makefile

View File

@@ -131,7 +131,7 @@ HB_FUNC( MEMOLINE )
ulLineEnd = ulPos - 1;
}
if( ulLineNumber == ulLines )
if( ulLineNumber == ulLines && ulLineEnd >= ulLineBegin )
{
ULONG ulSpAdded = 0;
char * pszLine = ( char * ) hb_xgrab( ulLineLength );
@@ -152,4 +152,3 @@ HB_FUNC( MEMOLINE )
else
hb_retc( "" );
}