chiark / gitweb /
Fix redundant redrawing in Pegs. Apparently it has always redrawn
authorSimon Tatham <anakin@pobox.com>
Sat, 7 Apr 2012 22:19:18 +0000 (22:19 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 7 Apr 2012 22:19:18 +0000 (22:19 +0000)
commit4f81608c40cdecec7448d97f4bbf7f01b524b963
treebf832243823515f6352449fb74efd278772f0304
parente3f97413174f02298ab554cc07c7c521a654db2c
Fix redundant redrawing in Pegs. Apparently it has always redrawn
every single peg and hole on the board, every time it did any kind of
redraw at all, because I forgot to update the array in the drawstate
indicating the last-drawn state of each position. And nobody's noticed
until now!

[originally from svn r9447]
pegs.c