mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-02-20 10:29:01 +00:00
EMAIL: Removed unnecessary prompts before opening file in editor
This commit is contained in:
parent
5f5e0f4d65
commit
2b484f2d21
17
apps/email.c
17
apps/email.c
@ -1708,14 +1708,8 @@ void copy_to_mailbox(struct emailhdrs *h, uint16_t idx,
|
||||
email_summary_for(selection);
|
||||
|
||||
if (mode != ' ') {
|
||||
// Not really an error but useful to have an alert
|
||||
sprintf(filename, "Created %s %s/OUTBOX/EMAIL.%u",
|
||||
(mode == 'R' ? "reply" : "fwded msg"), cfg_emaildir, num);
|
||||
error(ERR_NONFATAL, filename);
|
||||
if (prompt_okay("Open in editor - ")) {
|
||||
sprintf(filename, "%s/OUTBOX/EMAIL.%u", cfg_emaildir, num);
|
||||
load_editor(1);
|
||||
}
|
||||
sprintf(filename, "%s/OUTBOX/EMAIL.%u", cfg_emaildir, num);
|
||||
load_editor(1);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1831,11 +1825,8 @@ void create_blank_outgoing() {
|
||||
if (update_next_email("OUTBOX", num + 1))
|
||||
return;
|
||||
|
||||
sprintf(filename, "Open %s/OUTBOX/EMAIL.%u in editor - ", cfg_emaildir, num);
|
||||
if (prompt_okay(filename)) {
|
||||
sprintf(filename, "%s/OUTBOX/EMAIL.%u", cfg_emaildir, num);
|
||||
load_editor(1);
|
||||
}
|
||||
sprintf(filename, "%s/OUTBOX/EMAIL.%u", cfg_emaildir, num);
|
||||
load_editor(1);
|
||||
done:
|
||||
fclose(fp);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user