simon-git: puzzles (master): puzzles.git

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Fri Dec 16 18:33:12 GMT 2016


TL;DR:
  0b34887 Fix missing error highlights (+ array underrun!) in Pearl.

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: master
Committer:      puzzles.git
Date:           2016-12-16 18:33:12

commit 0b348877e22930bd76c6f00d8d634f7669cd1acb
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=0b348877e22930bd76c6f00d8d634f7669cd1acb;hp=cf6e4e272c2aa3477f149eb75ffe0436e1a8a2b0
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Dec 16 18:33:10 2016 +0000

    Fix missing error highlights (+ array underrun!) in Pearl.
    
    I was accidentally re-checking the value of component_state[comp]
    after resetting comp to the special value -1, which caused a failure
    to highlight stray path-shaped components if they existed in addition
    to a large loop component. (Plus, of course, it's just illegal no
    matter what visible behaviour it does or doesn't cause in practice.)
    
    Fixed by adjusting the code to more closely match the version in Loopy
    (I wonder how I managed to add two pieces of code in commit b31155b73
    without noticing this difference between them).

 pearl.c | 2 --
 1 file changed, 2 deletions(-)



More information about the tartarus-commits mailing list