diff options
| author | nyamatongwe <unknown> | 2005-07-08 04:28:11 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2005-07-08 04:28:11 +0000 |
| commit | ffa39bfb32f089d280641a4a6b0e8ee744d61865 (patch) | |
| tree | 29027f45b0b6d6235e42e6658cd1ee51745e9758 | |
| parent | 0914c836045705a3e71530656f0075d27235a647 (diff) | |
| download | scintilla-mirror-ffa39bfb32f089d280641a4a6b0e8ee744d61865.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); |
