textbtree: Remove unneeded check

This commit is contained in:
Sebastien Lafargue 2014-11-26 13:53:30 +01:00 committed by Benjamin Otte
parent 11233678d9
commit 05893dd5a9

View File

@ -1376,7 +1376,7 @@ find_line_by_y (GtkTextBTree *tree, BTreeView *view,
if (ld)
{
if (y < (current_y + (ld ? ld->height : 0)))
if (y < (current_y + ld->height))
return line;
current_y += ld->height;