diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 9e60d32735..bc5c04af42 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,19 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-01-16 02:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbnetio/tests/netiotst.prg + ! Fixed to REQUEST dir related functions to avoid RTE. + + - contrib/hbnetio/tests/data + - Deleted. Now it's created by RPC call. + + * contrib/hbwin/tests/testprn.prg + * Formatting. + + * contrib/hbwin/win_prn1.c + ! Using constants for dmOrientation. + 2010-01-16 01:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_prn1.c % eliminated some unnecessary HB_ISNUM( ) calls @@ -41,7 +54,7 @@ working codec. [ Marco Bra ] ! Fixed: to correctly dispay the last line nos while inserting or deleting bottom lines. [ Marco Bra ] - ! Enabled HBQT_RELEASE_WITH_DELETE protocol for hbIDE. + ! Enabled HBQT_RELEASE_WITH_DELETE protocol for hbIDE. 2010-01-15 21:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_prn1.c @@ -66,7 +79,7 @@ 2010-01-15 20:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/disk.c - ! TRUENAME() compiler time error fixed for non-win OS after recent change. + ! TRUENAME() compile-time error fixed for non-win OS after recent change. * contrib/hbct/diskhb.c ! GETVOLINFO() fixed to return empty string on non-win OS. diff --git a/harbour/contrib/hbnetio/tests/netiotst.prg b/harbour/contrib/hbnetio/tests/netiotst.prg index d0f0662158..9826d1537f 100644 --- a/harbour/contrib/hbnetio/tests/netiotst.prg +++ b/harbour/contrib/hbnetio/tests/netiotst.prg @@ -25,6 +25,9 @@ request DBFCDX +request HB_DIREXISTS +request MAKEDIR + proc main() local pSockSrv, lExists diff --git a/harbour/contrib/hbwin/tests/testprn.prg b/harbour/contrib/hbwin/tests/testprn.prg index c8ac000c88..04b574af28 100644 --- a/harbour/contrib/hbwin/tests/testprn.prg +++ b/harbour/contrib/hbwin/tests/testprn.prg @@ -118,7 +118,7 @@ STATIC PROCEDURE PrnTest( cPrinter, cBMPFile ) // To print a barcode; // Replace 'BCod39HN' with your own bar code font or any other font -// oPrinter:TextAtFont( oPrinter:MM_TO_POSX( 30 ) , oPrinter:MM_TO_POSY( 60 ), "1234567890", "BCod39HN", 24, 0 ) +// oPrinter:TextAtFont( oPrinter:MM_TO_POSX( 30 ), oPrinter:MM_TO_POSY( 60 ), "1234567890", "BCod39HN", 24, 0 ) // PrintBitMap( oPrinter, cBMPFile ) diff --git a/harbour/contrib/hbwin/win_prn1.c b/harbour/contrib/hbwin/win_prn1.c index 8c8fb19785..3e7f646f9b 100644 --- a/harbour/contrib/hbwin/win_prn1.c +++ b/harbour/contrib/hbwin/win_prn1.c @@ -480,7 +480,7 @@ HB_FUNC( WIN_SETDOCUMENTPROPERTIES ) pDevMode->dmPaperSize = ( short ) iProp; if( HB_ISLOG( 4 ) ) - pDevMode->dmOrientation = ( short ) ( hb_parl( 4 ) ? 2 : 1 ); + pDevMode->dmOrientation = ( short ) ( hb_parl( 4 ) ? DMORIENT_LANDSCAPE : DMORIENT_PORTRAIT ); if( ( iProp = hb_parni( 5 ) ) > 0 ) pDevMode->dmCopies = ( short ) iProp;