diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 86fe13d4e5..a3747969c8 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,12 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-10-16 23:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/xhb/xhbfunc.c + * contrib/win32prn/make_b32.bat + * contrib/win32prn/tprinter.c + ! Warnings/errors fixed from previous commit. + 2007-10-16 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/win32prn + contrib/win32prn/makefile.bc diff --git a/harbour/contrib/win32prn/make_b32.bat b/harbour/contrib/win32prn/make_b32.bat index 9d4b543581..c9cc003ded 100644 --- a/harbour/contrib/win32prn/make_b32.bat +++ b/harbour/contrib/win32prn/make_b32.bat @@ -27,6 +27,7 @@ if "%1" == "CLEAN" goto CLEAN if exist ..\..\lib\b32\hbwin32prn.bak del ..\..\lib\b32\hbwin32prn.bak if exist ..\..\obj\b32\w32_papi.obj del ..\..\obj\b32\w32_papi.obj if exist ..\..\obj\b32\w32_pcls.obj del ..\..\obj\b32\w32_pcls.obj + if exist ..\..\obj\b32\tprinter.obj del ..\..\obj\b32\tprinter.obj goto EXIT diff --git a/harbour/contrib/win32prn/tprinter.c b/harbour/contrib/win32prn/tprinter.c index 7145e24d92..016ebc4ef8 100644 --- a/harbour/contrib/win32prn/tprinter.c +++ b/harbour/contrib/win32prn/tprinter.c @@ -435,8 +435,8 @@ HB_FUNC( GETPRINTERS ) pPrinterInfo2 = ( PRINTER_INFO_2 * ) hb_xgrab( needed ) ; if ( pPrinterInfo2 ) { - hb_arrayNew( &SubItems, 0 ); - hb_itemPutC( &File, pPrinterEnum4->pPrinterName ); + hb_arrayNew( SubItems, 0 ); + hb_itemPutC( File, pPrinterEnum4->pPrinterName ); if ( GetPrinter( hPrinter, 2, (LPBYTE) pPrinterInfo2, needed, &needed ) ) { diff --git a/harbour/contrib/xhb/xhbfunc.c b/harbour/contrib/xhb/xhbfunc.c index 093245a67e..fef1394871 100644 --- a/harbour/contrib/xhb/xhbfunc.c +++ b/harbour/contrib/xhb/xhbfunc.c @@ -51,6 +51,7 @@ */ #include "hbapi.h" +#include "hbapigt.h" #include "hbapiitm.h" HB_FUNC_EXTERN( __KEYBOARD );