mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
fix to compile when XWFEATURE_SEARCHLIMIT off. Same as rev 3023 for
this file.
This commit is contained in:
parent
786a3fdc57
commit
587159f5d7
1 changed files with 7 additions and 2 deletions
|
@ -457,8 +457,11 @@ engine_findMove( EngineCtxt* engine, const ModelCtxt* model,
|
|||
}
|
||||
}
|
||||
|
||||
if ( !engine->searchHorizontal ||
|
||||
(engine->isFirstMove && !searchLimits) ) {
|
||||
if ( !engine->searchHorizontal
|
||||
#ifdef XWFEATURE_SEARCHLIMIT
|
||||
|| (engine->isFirstMove && !searchLimits)
|
||||
#endif
|
||||
) {
|
||||
engine->searchInProgress = XP_FALSE;
|
||||
break;
|
||||
} else {
|
||||
|
@ -499,7 +502,9 @@ findMovesOneRow( EngineCtxt* engine )
|
|||
XP_U16 col, row = engine->curRow;
|
||||
XP_S16 prevAnchor;
|
||||
XP_U16 firstSearchCol, lastSearchCol;
|
||||
#ifdef XWFEATURE_SEARCHLIMIT
|
||||
const BdHintLimits* searchLimits = engine->searchLimits;
|
||||
#endif
|
||||
|
||||
if ( 0 ) {
|
||||
#ifdef XWFEATURE_SEARCHLIMIT
|
||||
|
|
Loading…
Reference in a new issue