AmendHub

Download (as of this amendment):

jcs

/

textview

/

amendments

/

86

TVTrackScrollControl: Check for command down properly


jcs made amendment 86 23 days ago
--- tv_draw.c Thu Oct 15 09:42:27 2026 +++ tv_draw.c Mon Nov 2 15:08:33 2026 @@ -95,7 +95,7 @@ TVTrackScrollControl(ControlHandle control, short part ((*control)->contrlRect.right - (*control)->contrlRect.left)); GetKeys(&km); - cmd_down = (km[1] & (1 << 15)) != 0; + cmd_down = (km[1] & (1L << 15)) != 0; top_line = TVGetLine(tv, TVLineForY(tv, -(tv->scrolled.top))); bottom_line = TVGetLine(tv, TVLineForY(tv, -(tv->scrolled.top) +