chiark / gitweb /
Slight simplification to whitepixel().
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 26 Dec 2013 08:06:03 +0000 (08:06 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 26 Dec 2013 08:06:03 +0000 (08:06 +0000)
commit921cfe9cd1c9329814814b842566278b5c9b1b48
tree958ba6fe5856897b3b52a7b30be4b3a27d9b928a
parent8f584e0e0142f140d5390e6b0acbc37afabf2a1e
Slight simplification to whitepixel().

Previously, when two black corners of a white pixel were adjacent,
they were both modified so as not to overlap.  Now only one corner is
modified, albeit slightly more radically.  This has no practical
effect on the output, but it makes the code simpler.
bedstead.c