Fixed changing of mail in netmail, fixed editcompletion in overwrite mode.
This commit is contained in:
@@ -1937,6 +1937,9 @@ void IEclass::statusline() {
|
||||
uint tlen = strlen(trig);
|
||||
if(col >= tlen) {
|
||||
if(strneql(trig, currline->txt.c_str()+col-tlen, tlen)) {
|
||||
int saved_insert = insert;
|
||||
insert = true;
|
||||
batch_mode = BATCH_MODE;
|
||||
uint n;
|
||||
for(n=0; n<tlen; n++)
|
||||
DelLeft();
|
||||
@@ -1945,6 +1948,7 @@ void IEclass::statusline() {
|
||||
for(n=0; n<clen; n++)
|
||||
insertchar(*cptr++);
|
||||
HandleGEvent(EVTT_EDITCOMPLETION);
|
||||
insert = saved_insert;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@@ -816,7 +816,7 @@ void ChangeMsg() {
|
||||
if(u->addr.net != GFTN_ALL or reader_msg->orig.net == 0 or not AA->isnet())
|
||||
reader_keyok = NO;
|
||||
else {
|
||||
for(vector<gaka>::iterator x = CFG->aka.begin(); x != CFG->aka.begin(); x++) {
|
||||
for(vector<gaka>::iterator x = CFG->aka.begin(); x != CFG->aka.end(); x++) {
|
||||
if(reader_msg->orig.match(x->addr)) {
|
||||
reader_keyok = NO;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user