Correzione allo scrolling

git-svn-id: svn://10.65.10.50/trunk@1303 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
pirro 1995-04-24 14:51:35 +00:00
parent 09ac2b6f67
commit d256cab0f6

View File

@ -844,7 +844,7 @@ void TViswin::paint_column (long j, bool end)
autoscroll (FALSE);
RCT clipper;
xvt_rect_set(&clipper, tabx(X_OFFSET), 0, tabx(X_OFFSET+1), taby(int(_textrows)));
xvt_rect_set(&clipper, tabx(X_OFFSET), 0, tabx(X_OFFSET+1), taby(int(_textrows + 1)));
if (end)
xvt_rect_offset(&clipper, tabx(int(_textcolumns-1)), 0);
xvt_dwin_set_clip(win(), &clipper);
@ -1575,7 +1575,7 @@ void TViswin::handler (WINDOW win, EVENT * ep)
check_link (&_point);
_need_update = FALSE;
}
else scroll_error(-1, _txt.lines()-_textrows-1);
else scroll_error(-1, _txt.lines()-_textrows/*-1*/);
}
else
{