simon-git: puzzles (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Dec 7 21:47:38 GMT 2020


TL;DR:
  84cb4c6 Galaxies: fix assertion failure when adding out-of-bounds association.

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2020-12-07 21:47:38

commit 84cb4c6701e027090ff3fd955ce08065e20121b2
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=84cb4c6701e027090ff3fd955ce08065e20121b2;hp=78bc9ea7f79f379634f822d5f95242900f5716b9
Author: Franklin Wei <franklin at rockbox.org>
Date:   Sun Jul 5 19:32:26 2020 -0400

    Galaxies: fix assertion failure when adding out-of-bounds association.
    
    Adding an association with an out-of-bounds square (i.e. by pressing Return
    with a dot selected, and then moving the cursor so the `opposite' arrow was
    off the screen) would cause space_opposite_dot() to return NULL, in turn
    causing ok_to_add_assoc_with_opposite_internal() to return false, failing
    the assertion.
    
    This assertion appears to have been introduced in 68363231.

 galaxies.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)



More information about the tartarus-commits mailing list