fix to compiler with FEATURE_HIGHRES undefined

This commit is contained in:
ehouse 2004-10-30 19:29:33 +00:00
parent a6abf8ae49
commit 67ccd839f0

View file

@ -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},