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:
Viktor Szakats
2009-12-14 12:52:48 +00:00
parent e4ec7db7e2
commit ebdd5086de
2 changed files with 7 additions and 1 deletions

View File

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

View File

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