• Jinoh Kang's avatar
    riched20: Don't assume that TxDraw preserves the device context's brush selection. · 2027be7e
    Jinoh Kang authored
    Today, RichEditWndProc_common assumes that ITextServices::TxDraw
    preserves the brush selection of the given device context.  However,
    this invariant may be broken by misbehaving embedded OLE objects in the
    text document.
    
    Fix this by not assuming that the return value of the second
    SelectObject() call equals the brush passed to the first SelectObject()
    call in RichEditWndProc_common's WM_PAINT / WM_PRINTCLIENT case.
    2027be7e
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...