diff --git a/include/viswin.cpp b/include/viswin.cpp index 69194310e..de393102e 100755 --- a/include/viswin.cpp +++ b/include/viswin.cpp @@ -2345,7 +2345,8 @@ void TViswin::goto_pos( _point.y = r; if (!moveorigin) c = (c > (origin().x + _textcolumns)) ? c - origin().x : 0l; - update_thumb(c,r); + if (_txt.lines() > _textrows) + update_thumb(c,r); check_link(&_point); if (_isselection) display_selection(); display_point();