From ffa39bfb32f089d280641a4a6b0e8ee744d61865 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 8 Jul 2005 04:28:11 +0000 Subject: Patch #1234222 for EM_EXSETSEL. --- win32/ScintillaWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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); -- cgit v1.2.3