~ubuntu-branches/ubuntu/trusty/scid/trusty

« back to all changes in this revision

Viewing changes to src/stored.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Korff
  • Date: 2011-02-28 09:58:02 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110228095802-lc3b1c53cn3twu76
Tags: 1:4.3.0.cvs20110228-1
* New Upstream Version.
* I re-checked this matter thoroughly and the bug can not be reproduced 
  in this version. If the book is enabled, the book moves are skipped, 
  while (automatically) annotating. (Closes: #604421)
* Makefile and Makefile.conf are still not included in the patch system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
387
387
                Game * lineGame = storedLineGames [line];
388
388
                lineGame->MoveToPly (0);
389
389
                bool never_match = false;
 
390
        storedLineMatches_[line] = 0;
390
391
                if (lineGame->ExactMatch (pos, NULL, &storedLineMoves_[line], &never_match)) {
391
392
                        if (storedLineMoves_[line].from != NULL_SQUARE) {
392
393
                                storedLineMatches_[line] = lineGame->GetCurrentPly() + 1;
393
394
                        }
394
395
                } else
395
396
                        if (never_match) storedLineMatches_[line] = -1;
396
 
                        else storedLineMatches_[line] = 0;
397
397
        }
398
398
}
399
399