projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddfb306
)
(update_selection): Fix for the case that the selection
author
handa
<handa>
Tue, 14 Sep 2004 02:38:02 +0000
(
02:38
+0000)
committer
handa
<handa>
Tue, 14 Sep 2004 02:38:02 +0000
(
02:38
+0000)
is just one line.
example/medit.c
patch
|
blob
|
history
diff --git
a/example/medit.c
b/example/medit.c
index
bcd7a5c
..
e1477df
100644
(file)
--- 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
{