summaryrefslogtreecommitdiff
path: root/appl
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-01-09 22:46:18 +0000
committerCharles.Forsyth <devnull@localhost>2008-01-09 22:46:18 +0000
commit85620a8011570830a70e5c3b9394ea740655da33 (patch)
treec6edcbe7a66c062c7ba888a08f16f6ce2724fbe5 /appl
parent38b761e890b1497089b6d623ae8bee952d1b8cc0 (diff)
20080109
Diffstat (limited to 'appl')
-rw-r--r--appl/acme/ecmd.b4
-rw-r--r--appl/cmd/cddb.b1
2 files changed, 4 insertions, 1 deletions
diff --git a/appl/acme/ecmd.b b/appl/acme/ecmd.b
index b85b5bb1..c31643f1 100644
--- a/appl/acme/ecmd.b
+++ b/appl/acme/ecmd.b
@@ -448,8 +448,10 @@ move(f: ref File, addr2: Address)
}else if(addr.r.q0 >= addr2.r.q1){
copy(f, addr2);
elogdelete(f, addr.r.q0, addr.r.q1);
+ }else if(addr.r.q0==addr2.r.q0 && addr.r.q1==addr2.r.q1){
+ ; # move to self; no-op
}else
- error("move overlaps itself");
+ editerror("move overlaps itself");
}
m_cmd(t: ref Text, cp: ref Cmd): int
diff --git a/appl/cmd/cddb.b b/appl/cmd/cddb.b
index 6265ba24..5d88725b 100644
--- a/appl/cmd/cddb.b
+++ b/appl/cmd/cddb.b
@@ -112,6 +112,7 @@ cddbfilltoc(t: ref Toc): int
return died(p);
categ = hd tl fl;
id = hd tl tl fl;
+ 210 or # exact matches
211 => # close matches
if((p = getline(bin)) == nil)
return died(nil);