+ fix: wrong test on rectangular selection

This commit is contained in:
Rainer Kottenhoff 2018-01-25 02:13:36 +01:00
parent 839e1f38ce
commit 19ff7752a2

View File

@ -2770,7 +2770,7 @@ void EditAlignText(HWND hwnd,int nMode)
//
void EditEncloseSelection(HWND hwnd, LPCWSTR pwszOpen, LPCWSTR pwszClose)
{
if (!SciCall_IsSelectionRectangle())
if (SciCall_IsSelectionRectangle())
{
MsgBox(MBWARN, IDS_SELRECT);
return;