mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
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