From 67ccd839f0914f3e38471c35db723ac650812e23 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 30 Oct 2004 19:29:33 +0000 Subject: [PATCH] fix to compiler with FEATURE_HIGHRES undefined --- palm/palmdraw.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/palm/palmdraw.c b/palm/palmdraw.c index 25eac79d9..297e1bab9 100644 --- a/palm/palmdraw.c +++ b/palm/palmdraw.c @@ -490,7 +490,9 @@ palm_draw_drawTile( DrawCtx* p_dctx, XP_Rect* rect, (void)StrPrintF( valBuf, "%d", val ); len = XP_STRLEN((const char*)valBuf); - if ( dctx->doHiRes ) { + if ( 0 ) { +#ifdef FEATURE_HIGHRES + } else if ( dctx->doHiRes ) { UInt32 oldMode = WinSetScalingMode( kTextScalingOff ); FontID curFont = FntGetFont(); FntSetFont( boldFont ); @@ -500,7 +502,7 @@ palm_draw_drawTile( DrawCtx* p_dctx, XP_Rect* rect, localR.top + localR.height - dctx->fntHeight - 1 ); FntSetFont( curFont ); WinSetScalingMode( oldMode ); - +#endif } else { RectangleType numRect = {{0,0},