simon-git: puzzles (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Wed Oct 29 21:42:18 GMT 2014


Repository:     git://git.tartarus.org/simon/puzzles.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=puzzles.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2014-10-29 21:42:18

commit 4a8edc65bbe906093787645b98122c7750ae83e8
web diff http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=commitdiff;h=4a8edc65bbe906093787645b98122c7750ae83e8;hp=3017455259f955e6257381e449419fea780a40f2
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Oct 29 21:41:38 2014 +0000

    Fix error highlighting of closed subgraphs in Bridges.
    
    When I did the recent rewrite of the Bridges drawing code, I spotted
    and replicated the code in game_redraw that set G_WARN at redraw time
    on an island with unsatisfiable clues, but didn't spot the code
    elsewhere (e.g. map_group_check) which might have set G_WARN ahead of
    time, so I failed to check for that. As a result, if you join some
    islands together into a subgraph with no further room for expansion
    (e.g. connect a pair of 1s together, or a pair of 2s with a double
    bridge) then all the bridges in that subgraph light up red but the
    islands themselves forget to.
    
    Trivial one-line fix.

 bridges.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the tartarus-commits mailing list