mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
trivial optimization
This commit is contained in:
parent
42950c38bd
commit
b6a4621617
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ figureMoveScore( const ModelCtxt* model, XP_U16 turn, MoveInfo* moveInfo,
|
|||
crosscheck direction. Score may still be 0 after the call to
|
||||
scoreWord above. Keep trying to get some text in mainWord until
|
||||
something's been scored. */
|
||||
if ( score > 0 ) {
|
||||
if ( NULL != mainWord && score > 0 ) {
|
||||
mainWord = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue