2013-11-27 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtxwc/gtxwc.c
* minor modification for future usage
* src/rtl/hbini.prg
! fixed RTE on 'include' directive
This commit is contained in:
@@ -4250,6 +4250,9 @@ static HB_BOOL hb_gt_xwc_SetFont( PXWND_DEF wnd, const char * fontFace,
|
||||
wnd->fontHeight = xfs->max_bounds.ascent + xfs->max_bounds.descent;
|
||||
/* wnd->fontWidth = xfs->max_bounds.rbearing - xfs->min_bounds.lbearing; */
|
||||
wnd->fontWidth = xfs->max_bounds.width;
|
||||
|
||||
if( wnd->xfs )
|
||||
XFreeFont( wnd->dpy, wnd->xfs );
|
||||
wnd->xfs = xfs;
|
||||
|
||||
return HB_TRUE;
|
||||
|
||||
@@ -142,7 +142,7 @@ STATIC FUNCTION hb_IniFileLow( cFileSpec )
|
||||
NEXT
|
||||
|
||||
IF hFile == F_ERROR
|
||||
RETURN NIL
|
||||
RETURN ""
|
||||
ENDIF
|
||||
|
||||
/* we'll read the whole file, then we'll break it in lines. */
|
||||
|
||||
Reference in New Issue
Block a user