This commit is contained in:
Andi Jahja
2002-01-05 09:17:13 +00:00
parent b7718d52ba
commit 5df1cf5352
3 changed files with 10 additions and 2 deletions

View File

@@ -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

View File

@@ -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 );

View File

@@ -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 */