]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Stop general_textout() from trying to slice up the input clipping
authorSimon Tatham <anakin@pobox.com>
Thu, 30 Dec 2010 00:06:43 +0000 (00:06 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 30 Dec 2010 00:06:43 +0000 (00:06 +0000)
commita45f984c75a462b3b93c250ff7a0203b8f412d36
tree65723d989a4ad5963f0f771bcbb510d650a77876
parenta418e0d2dc2325271a85e03ef44bede05329090e
Stop general_textout() from trying to slice up the input clipping
rectangle into smaller ones: it doesn't work any more, since the new
variable-pitch code can now call general_textout() with a larger
clipping rectangle than the text it's meant to be displaying. Instead,
general_textout() now uses the same semantics as the next loop up in
do_text_internal(): the first piece of text it displays uses the
opacity setting passed in, which blanks the entire clipping rectangle
if necessary, and then subsequent overlays are non-opaque. And the
same clipping rectangle is used throughout.

[originally from svn r9067]
windows/window.c