diff options
author | Neil <nyamatongwe@gmail.com> | 2020-03-06 08:47:12 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-03-06 08:47:12 +1100 |
commit | 7a21c7587395610f63aa48f920b43c21970e4c96 (patch) | |
tree | efe44793633200c1240bd412767c45e755dea4ef | |
parent | ac78795a1f124313645c3443ac08ff177d711e63 (diff) | |
download | scintilla-mirror-7a21c7587395610f63aa48f920b43c21970e4c96.tar.gz |
Fix bug where all drops were treated as rectangular.
-rw-r--r-- | doc/ScintillaHistory.html | 11 | ||||
-rw-r--r-- | win32/ScintillaWin.cxx | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 4dafe5a79..e2652f53f 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -563,6 +563,17 @@ </li> </ul> <h3> + <a href="https://www.scintilla.org/scite432.zip">Release 4.3.2</a> + </h3> + <ul> + <li> + Released 6 March 2020. + </li> + <li> + On Win32 fix new bug that treated all dropped text as rectangular. + </li> + </ul> + <h3> <a href="https://www.scintilla.org/scite431.zip">Release 4.3.1</a> </h3> <ul> diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 3c3b6a0b0..98d988395 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -3221,7 +3221,7 @@ STDMETHODIMP ScintillaWin::Drop(LPDATAOBJECT pIDataSource, DWORD grfKeyState, } FORMATETC fmtr = {cfColumnSelect, nullptr, DVASPECT_CONTENT, -1, TYMED_HGLOBAL}; - const bool isRectangular = SUCCEEDED(pIDataSource->QueryGetData(&fmtr)); + const bool isRectangular = S_OK == pIDataSource->QueryGetData(&fmtr); POINT rpt = {pt.x, pt.y}; ::ScreenToClient(MainHWND(), &rpt); |