Correzione allo scrolling
git-svn-id: svn://10.65.10.50/trunk@1303 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
09ac2b6f67
commit
d256cab0f6
@ -844,7 +844,7 @@ void TViswin::paint_column (long j, bool end)
|
|||||||
autoscroll (FALSE);
|
autoscroll (FALSE);
|
||||||
|
|
||||||
RCT clipper;
|
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)
|
if (end)
|
||||||
xvt_rect_offset(&clipper, tabx(int(_textcolumns-1)), 0);
|
xvt_rect_offset(&clipper, tabx(int(_textcolumns-1)), 0);
|
||||||
xvt_dwin_set_clip(win(), &clipper);
|
xvt_dwin_set_clip(win(), &clipper);
|
||||||
@ -1575,7 +1575,7 @@ void TViswin::handler (WINDOW win, EVENT * ep)
|
|||||||
check_link (&_point);
|
check_link (&_point);
|
||||||
_need_update = FALSE;
|
_need_update = FALSE;
|
||||||
}
|
}
|
||||||
else scroll_error(-1, _txt.lines()-_textrows-1);
|
else scroll_error(-1, _txt.lines()-_textrows/*-1*/);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user