From 05893dd5a95a4255488ab5757711eb6fcfc105c0 Mon Sep 17 00:00:00 2001 From: Sebastien Lafargue Date: Wed, 26 Nov 2014 13:53:30 +0100 Subject: [PATCH] textbtree: Remove unneeded check --- gtk/gtktextbtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c index 9d94282f3e..106191e088 100644 --- a/gtk/gtktextbtree.c +++ b/gtk/gtktextbtree.c @@ -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;