2009-12-14 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn2.c
! Missing hb_itemRelease() from prev commit.
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-12-14 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbwin/win_prn2.c
|
||||
! Missing hb_itemRelease() from prev commit.
|
||||
|
||||
2009-12-14 13:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbwin/win_prn2.c
|
||||
+ Eliminated rest of HB_TCHAR*() calls.
|
||||
|
||||
@@ -268,7 +268,7 @@ HB_FUNC( WIN_PRINTERSTATUS )
|
||||
if( hb_itemGetCLen( pPrinterName ) == 0 )
|
||||
hb_GetDefaultPrinter( pPrinterName );
|
||||
|
||||
if( hb_itemGetCLen( pPrinterName ) )
|
||||
if( hb_itemGetCLen( pPrinterName ) > 0 )
|
||||
{
|
||||
void * hPrinterName;
|
||||
LPCTSTR lpPrinterName = HB_ITEMGETSTR( pPrinterName, &hPrinterName, NULL );
|
||||
@@ -320,6 +320,8 @@ HB_FUNC( WIN_PRINTERSTATUS )
|
||||
hb_strfree( hPrinterName );
|
||||
}
|
||||
|
||||
hb_itemRelease( pPrinterName );
|
||||
|
||||
hb_retnl( nStatus );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user