2007-11-23 05:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtwvg/wvtcore.c
! casting
* harbour/source/rtl/memofile.c
* cleaned warning in *nixes
This commit is contained in:
@@ -8,6 +8,13 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2007-11-23 05:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/gtwvg/wvtcore.c
|
||||
! casting
|
||||
|
||||
* harbour/source/rtl/memofile.c
|
||||
* cleaned warning in *nixes
|
||||
|
||||
2007-11-23 05:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/rtl/gtwvt/gtwvt.h
|
||||
* harbour/source/rtl/gtwvt/gtwvt.c
|
||||
|
||||
@@ -885,7 +885,7 @@ HB_FUNC( WVT_DRAWLABEL )
|
||||
SetBkColor( _s->hdc, ISNIL( 7 ) ? _s->background : ( COLORREF ) hb_parnl( 7 ) );
|
||||
SetTextColor( _s->hdc, ISNIL( 6 ) ? _s->foreground : ( COLORREF ) hb_parnl( 6 ) );
|
||||
SetTextAlign( _s->hdc, ( ISNIL( 4 ) ? TA_LEFT : hb_parni( 4 ) ) );
|
||||
hOldFont = SelectObject( _s->hdc, hFont );
|
||||
hOldFont = ( HFONT ) SelectObject( _s->hdc, hFont );
|
||||
|
||||
ExtTextOut( _s->hdc, xy.x, xy.y, 0, NULL, hb_parcx( 3 ), strlen( hb_parcx( 3 ) ), NULL );
|
||||
|
||||
@@ -896,7 +896,7 @@ HB_FUNC( WVT_DRAWLABEL )
|
||||
SetBkColor( _s->hGuiDC, ISNIL( 7 ) ? _s->background : ( COLORREF ) hb_parnl( 7 ) );
|
||||
SetTextColor( _s->hGuiDC, ISNIL( 6 ) ? _s->foreground : ( COLORREF ) hb_parnl( 6 ) );
|
||||
SetTextAlign( _s->hGuiDC, ( ISNIL( 4 ) ? TA_LEFT : hb_parni( 4 ) ) );
|
||||
hOldFontGui = SelectObject( _s->hGuiDC, hFont );
|
||||
hOldFontGui = ( HFONT ) SelectObject( _s->hGuiDC, hFont );
|
||||
|
||||
ExtTextOut( _s->hGuiDC, xy.x, xy.y, 0, NULL, hb_parcx( 3 ), strlen( hb_parcx( 3 ) ), NULL );
|
||||
|
||||
|
||||
@@ -125,16 +125,15 @@ static BOOL hb_memowrit( BOOL bWriteEOF )
|
||||
|
||||
/* NOTE: CA-Clipper will add the EOF even if the write failed. [vszakats] */
|
||||
/* NOTE: CA-Clipper will not return .F. when the EOF could not be written. [vszakats] */
|
||||
#if ! defined(OS_UNIX_COMPATIBLE)
|
||||
#if ! defined(OS_UNIX_COMPATIBLE)
|
||||
if( bWriteEOF ) /* if true, then write EOF */
|
||||
{
|
||||
if( bWriteEOF ) /* if true, then write EOF */
|
||||
{
|
||||
BYTE byEOF = HB_CHAR_EOF;
|
||||
|
||||
hb_fsWrite( fhnd, &byEOF, sizeof( BYTE ) );
|
||||
}
|
||||
BYTE byEOF = HB_CHAR_EOF;
|
||||
hb_fsWrite( fhnd, &byEOF, sizeof( BYTE ) );
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
HB_SYMBOL_UNUSED( bWriteEOF );
|
||||
#endif
|
||||
|
||||
hb_fsClose( fhnd );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user