Corretti problemi di scrolling

git-svn-id: svn://10.65.10.50/trunk@1208 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1995-04-06 08:08:44 +00:00
parent d0e4419946
commit 7552105e10

View File

@ -723,7 +723,7 @@ void TViswin::paint_column (long j, bool end)
RCT clipper;
xvt_rect_set(&clipper, tabx(X_OFFSET), 0, tabx(X_OFFSET+1), taby(int(_textrows)));
if (end)
xvt_rect_offset(&clipper, tabx(int(_textcolumns)), 0);
xvt_rect_offset(&clipper, tabx(int(_textcolumns-1)), 0);
xvt_dwin_set_clip(win(), &clipper);
const int col = end ? (int) (_textcolumns + X_OFFSET -1) : X_OFFSET;
@ -1478,7 +1478,7 @@ void TViswin::handler (WINDOW win, EVENT * ep)
_point.y++;
_need_scroll = up;
}
else scroll_error(-1, _txt.lines()-_textrows-1);
else scroll_error(-1, _txt.lines()-_textrows/*-1*/);
}
else
{