diff options
| author | Neil <nyamatongwe@gmail.com> | 2016-05-03 11:56:15 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2016-05-03 11:56:15 +1000 |
| commit | b11991abf6f1c8f5dbe864c6c8c980b73acf9a79 (patch) | |
| tree | a0aec4a539397d59f349ad78d1d15abe7d014445 /win32 | |
| parent | e9304f48ef17e8200f8705e886002a6957005430 (diff) | |
| download | scintilla-mirror-b11991abf6f1c8f5dbe864c6c8c980b73acf9a79.tar.gz | |
Fix off-by-one error that allowed resizing autocompletion from bottom when it
was located above the caret.
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 53b101e32..26b7adb3f 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -2618,7 +2618,7 @@ LRESULT ListBoxX::NcHitTest(WPARAM wParam, LPARAM lParam) const { case HTBOTTOMRIGHT: { PRectangle rc = const_cast<ListBoxX*>(this)->GetPosition(); // Valid only if caret above list - if (rc.bottom < location.y) + if (rc.bottom <= location.y) hit = HTERROR; } break; |
