2009-12-06 22:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbwin/win_prn2.c
    ! Silenced mingw C++ mode warning as suggested by Xavi. (Thanks!)
This commit is contained in:
Viktor Szakats
2009-12-06 21:29:12 +00:00
parent 6c8babc782
commit da2d111e78
2 changed files with 5 additions and 1 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-12-06 22:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn2.c
! Silenced mingw C++ mode warning as suggested by Xavi. (Thanks!)
2009-12-06 22:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_destruct.cpp
% Removed headers not required for this file.

View File

@@ -414,7 +414,7 @@ HB_FUNC( WIN_PRINTFILERAW )
DOC_INFO_1 DocInfo;
DocInfo.pDocName = lpDocName;
DocInfo.pOutputFile = NULL;
DocInfo.pDatatype = TEXT( "RAW" );
DocInfo.pDatatype = ( LPTSTR ) TEXT( "RAW" );
if( StartDocPrinter( hPrinter, 1, ( LPBYTE ) &DocInfo ) != 0 )
{
if( StartPagePrinter( hPrinter ) != 0 )