forked from AuroraMiddleware/gtk
textbtree: Remove unneeded check
This commit is contained in:
parent
11233678d9
commit
05893dd5a9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user