Re: Strange zero operation in dlls/riched20/tests/editor.c (Coverity)

2011-05-05 Thread Dylan Smith
On Thu, May 5, 2011 at 11:39 AM, Marcus Meissner wrote: > Hi Dylan, folks, > > Coverity sees following constructs in dlls/riched20/tests/editor.c > introduced by your commit aa3b75f6b74fa87641b1f2b5912fbb82feb4c2da > > +SendMessage(hwndRichEdit, WM_CHAR, 22, > +(MapVirtualKey(

Strange zero operation in dlls/riched20/tests/editor.c (Coverity)

2011-05-05 Thread Marcus Meissner
Hi Dylan, folks, Coverity sees following constructs in dlls/riched20/tests/editor.c introduced by your commit aa3b75f6b74fa87641b1f2b5912fbb82feb4c2da +SendMessage(hwndRichEdit, WM_CHAR, 22, +(MapVirtualKey('V', MAPVK_VK_TO_VSC) << 16) & 1); (several more of similar) The 4th