diff --git a/2.x/trunk/phlib/treenew.c b/2.x/trunk/phlib/treenew.c index f901da081..2a3fa13ff 100644 --- a/2.x/trunk/phlib/treenew.c +++ b/2.x/trunk/phlib/treenew.c @@ -5911,7 +5911,7 @@ VOID PhTnpDragSelect( aboveOrBelow = cursorPoint.y < windowRect.top || cursorPoint.y >= windowRect.bottom; if ((Context->VScrollVisible && aboveOrBelow && PhTnpCanScroll(Context, FALSE, cursorPoint.y >= windowRect.bottom)) || - (Context->HScrollVisible && leftOrRight && PhTnpCanScroll(Context, FALSE, cursorPoint.x >= windowRect.right))) + (Context->HScrollVisible && leftOrRight && PhTnpCanScroll(Context, TRUE, cursorPoint.x >= windowRect.right))) { SetCursorPos(cursorPoint.x, cursorPoint.y); }