Andi Jahja <harbour@cbn.net.id>
This commit is contained in:
@@ -7,6 +7,13 @@
|
||||
For example:
|
||||
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
* source/rtl/isprint.c
|
||||
! Made more multiplatform by passing the complete printer
|
||||
name to the fsOpen() function.
|
||||
* Platform specific uiPort moved to DOS branch.
|
||||
+ Added support for PRN under DOS.
|
||||
+ Added a C callable interface hb_printerIsReady() (not
|
||||
yet prototyped in the central headers).
|
||||
+ Win32 version reworked so that it checks for the printer
|
||||
name passed to the function. This also made the program
|
||||
|
||||
@@ -75,7 +75,7 @@ HB_FUNC( DESCEND )
|
||||
if( HB_IS_STRING( pItem ) )
|
||||
{
|
||||
ULONG ulLen = hb_itemGetCLen( pItem );
|
||||
char * szBuffer = ( char * ) hb_xgrab( ulLen );
|
||||
char * szBuffer = ( char * ) hb_xgrab( ulLen + 1);
|
||||
hb_strDescend( szBuffer, hb_itemGetCPtr( pItem ), ulLen );
|
||||
hb_retclen( szBuffer, ulLen );
|
||||
hb_xfree( szBuffer );
|
||||
|
||||
@@ -196,7 +196,8 @@ HB_FUNC( TRANSFORM )
|
||||
BOOL bAnyPic = FALSE;
|
||||
|
||||
/* Grab enough */
|
||||
szResult = ( char * ) hb_xgrab( ulExpLen + ulPicLen );
|
||||
|
||||
szResult = ( char * ) hb_xgrab( ulExpLen + ulPicLen + 1);
|
||||
ulResultPos = 0;
|
||||
|
||||
/* Support date function for strings */
|
||||
|
||||
Reference in New Issue
Block a user