mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
fix to compiler with FEATURE_HIGHRES undefined
This commit is contained in:
parent
a6abf8ae49
commit
67ccd839f0
1 changed files with 4 additions and 2 deletions
|
@ -490,7 +490,9 @@ palm_draw_drawTile( DrawCtx* p_dctx, XP_Rect* rect,
|
||||||
(void)StrPrintF( valBuf, "%d", val );
|
(void)StrPrintF( valBuf, "%d", val );
|
||||||
len = XP_STRLEN((const char*)valBuf);
|
len = XP_STRLEN((const char*)valBuf);
|
||||||
|
|
||||||
if ( dctx->doHiRes ) {
|
if ( 0 ) {
|
||||||
|
#ifdef FEATURE_HIGHRES
|
||||||
|
} else if ( dctx->doHiRes ) {
|
||||||
UInt32 oldMode = WinSetScalingMode( kTextScalingOff );
|
UInt32 oldMode = WinSetScalingMode( kTextScalingOff );
|
||||||
FontID curFont = FntGetFont();
|
FontID curFont = FntGetFont();
|
||||||
FntSetFont( boldFont );
|
FntSetFont( boldFont );
|
||||||
|
@ -500,7 +502,7 @@ palm_draw_drawTile( DrawCtx* p_dctx, XP_Rect* rect,
|
||||||
localR.top + localR.height - dctx->fntHeight - 1 );
|
localR.top + localR.height - dctx->fntHeight - 1 );
|
||||||
FntSetFont( curFont );
|
FntSetFont( curFont );
|
||||||
WinSetScalingMode( oldMode );
|
WinSetScalingMode( oldMode );
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
RectangleType numRect = {{0,0},
|
RectangleType numRect = {{0,0},
|
||||||
|
|
Loading…
Add table
Reference in a new issue