mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
fix compile errors non-DEBUG case
This commit is contained in:
parent
f4447e87fa
commit
18c1fc906a
1 changed files with 3 additions and 1 deletions
|
@ -1072,10 +1072,12 @@ palm_draw_drawMiniWindow( DrawCtx* p_dctx, unsigned char* text,
|
||||||
XP_UCHAR buf2[48];
|
XP_UCHAR buf2[48];
|
||||||
XP_UCHAR* bufs[2] = { buf1, buf2 };
|
XP_UCHAR* bufs[2] = { buf1, buf2 };
|
||||||
XP_U16 nBufs, i, offset;
|
XP_U16 nBufs, i, offset;
|
||||||
|
#ifndef FEATURE_HIGHRES
|
||||||
XP_U16 ignoreErr;
|
XP_U16 ignoreErr;
|
||||||
|
#endif
|
||||||
XP_Bool hasClosure = !!closureP;
|
XP_Bool hasClosure = !!closureP;
|
||||||
PalmMiniWinData* data = (PalmMiniWinData*)(hasClosure? *closureP: NULL);
|
PalmMiniWinData* data = (PalmMiniWinData*)(hasClosure? *closureP: NULL);
|
||||||
#ifdef DEBUG
|
#if defined DEBUG || defined FEATURE_HIGHRES
|
||||||
PalmDrawCtx* dctx = (PalmDrawCtx*)p_dctx;
|
PalmDrawCtx* dctx = (PalmDrawCtx*)p_dctx;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue