]> git.gir.st - solVItaire.git/commit
fix broken halfcard rendering
authorgirst <girst@users.noreply.github.com>
Thu, 10 Jan 2019 14:16:31 +0000 (15:16 +0100)
committergirst <girst@users.noreply.github.com>
Thu, 10 Jan 2019 14:16:31 +0000 (15:16 +0100)
commit1968054e368e0fbe106c62db2b6b130fdd99caae
tree121183aa379ba03532772b177f0e8af19e5266f4
parentcf0a789c80302eac660129cb36242c481f5d37f4
fix broken halfcard rendering

due to the faint hack, black cards were 1 byte shorter than red cards.
this meant, that the offset for halfcard was off for red colors (as it
has been adjusted for black cards), which caused printing errors in
spider's foundation for overlapping red cards. can't pad with zero bytes
(as that would end the string), but using an extra escape seems to be OK
for xterm and vte-based terminals.
schemes.h
Imprint / Impressum