diff options
author | nyamatongwe <devnull@localhost> | 2005-07-08 04:28:11 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-07-08 04:28:11 +0000 |
commit | 891fa11d867e5efaad59e06a5cb9d354c5124150 (patch) | |
tree | 29027f45b0b6d6235e42e6658cd1ee51745e9758 | |
parent | ad54fd3bb88a7a5c561c50517a6a46114b2e91c8 (diff) | |
download | scintilla-mirror-891fa11d867e5efaad59e06a5cb9d354c5124150.tar.gz |
Patch #1234222 for EM_EXSETSEL.
-rw-r--r-- | win32/ScintillaWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index fe4e70fc7..fce2af9d4 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -904,7 +904,7 @@ sptr_t ScintillaWin::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam } CharacterRange *pCR = reinterpret_cast<CharacterRange *>(lParam); selType = selStream; - if (pCR->cpMax == 0 && pCR->cpMax == -1) { + if (pCR->cpMin == 0 && pCR->cpMax == -1) { SetSelection(pCR->cpMin, pdoc->Length()); } else { SetSelection(pCR->cpMin, pCR->cpMax); |