Assign checkmode boolean earlier to handle the goto jump.
Might fix PR bin/63769.
This commit is contained in:
parent
ac2e10a4f5
commit
97dc367f93
@ -77,6 +77,7 @@ setfile(name)
|
||||
char tempname[PATHSIZE];
|
||||
static int shudclob;
|
||||
|
||||
checkmode = value("checkmode") != NULL;
|
||||
if ((name = expand(name)) == NULL)
|
||||
return (-1);
|
||||
|
||||
@ -151,7 +152,6 @@ setfile(name)
|
||||
(void)Fclose(ibuf);
|
||||
relsesigs();
|
||||
sawcom = 0;
|
||||
checkmode = value("checkmode") != NULL;
|
||||
|
||||
if ((checkmode || !edit) && msgCount == 0) {
|
||||
nomail:
|
||||
|
Loading…
Reference in New Issue
Block a user