2002-10-20 22:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>

This commit is contained in:
Alexander S.Kresin
2002-10-20 18:36:32 +00:00
parent 08eff0e53e
commit 8ad9a091be
2 changed files with 5 additions and 2 deletions

View File

@@ -8,6 +8,10 @@
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2002-10-20 22:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
* source/rdd/dbcmd.c
! Yet another fix related to the hb_parc() changes
2002-10-20 21:12 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
* source/rdd/dbcmd.c
! Few fixes related to the latest hb_parc() changes

View File

@@ -2326,8 +2326,7 @@ HB_FUNC( ORDCONDSET )
{
lpdbOrdCondInfo = ( LPDBORDERCONDINFO ) hb_xgrab( sizeof( DBORDERCONDINFO ) );
szFor = hb_parc( 1 );
ulLen = strlen( szFor );
if( ulLen )
if( szFor && ( ulLen = strlen( szFor ) ) != 0 )
{
lpdbOrdCondInfo->abFor = ( BYTE * ) hb_xgrab( ulLen + 1 );
strcpy( ( char * ) lpdbOrdCondInfo->abFor, szFor );