From 2dd3d8531e268977adb0aa3d7974c4bf50ac6dcf Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 14 Sep 2004 02:38:02 +0000 Subject: [PATCH] (update_selection): Fix for the case that the selection is just one line. --- example/medit.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/example/medit.c b/example/medit.c index bcd7a5c..e1477df 100644 --- a/example/medit.c +++ b/example/medit.c @@ -565,12 +565,6 @@ update_selection () if (to <= sel_start.to) { sel_end = sel_start; - if (to >= sel_end.to) - { - GLYPH_INFO (sel_start.from, to, info); - sel_end.y1 = sel_end.y0 + info.y + info.metrics.height; - sel_end.to = info.line_to; - } } else { -- 1.7.10.4