richedit: Compare editor rather than hWnd in ME_CalculateClickCount.
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 15 Dec 2008 09:32:01 +0000 (04:32 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 15 Dec 2008 12:16:08 +0000 (13:16 +0100)
commit0c8e4b6d02b0cd9faf835f7eaa4efacfe547e585
treebd4f22e829f6de60accaa62e583f9048525a650c
parent6901e0cec7331c768af6b8c11509067b58372a01
richedit: Compare editor rather than hWnd in ME_CalculateClickCount.

Comparing the editor as apposed to the handle to the window will work
just as well right now, but will also work when there is no window
handle to make a comparison with, which will be the case with
windowless richedit controls.
dlls/riched20/editor.c