Assign checkmode boolean earlier to handle the goto jump.

Might fix PR bin/63769.
This commit is contained in:
mikeh 2004-03-06 13:27:59 +00:00
parent ac2e10a4f5
commit 97dc367f93

View File

@ -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: