Corretti limiti selezione

git-svn-id: svn://10.65.10.50/trunk@858 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1995-01-12 14:47:20 +00:00
parent e3626153e1
commit 14fb7d4d71

View File

@ -291,7 +291,8 @@ bool TViswin::check_link (TPoint * p)
bool TViswin::in_text (const TPoint & p) const
{
if (p.x > 5 && p.x < columns () && p.y > 0 && p.y < (rows () - BUTTONROW_SIZE))
if (p.x > (X_OFFSET - 1) && p.x < columns() &&
p.y > (Y_OFFSET - 1) && p.y < (rows() - BUTTONROW_SIZE))
return TRUE;
return FALSE;
}