tweaks: do an assignment in a more transparent way
parent
5e4f16da44
commit
21edf7bb90
|
@ -2861,12 +2861,12 @@ void do_spell(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
status =
|
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
openfile->mark_set ? write_marked_file(temp, temp_file, TRUE,
|
if (openfile->mark_set)
|
||||||
OVERWRITE) :
|
status = write_marked_file(temp, temp_file, TRUE, OVERWRITE);
|
||||||
|
else
|
||||||
#endif
|
#endif
|
||||||
write_file(temp, temp_file, TRUE, OVERWRITE, FALSE);
|
status = write_file(temp, temp_file, TRUE, OVERWRITE, FALSE);
|
||||||
|
|
||||||
if (!status) {
|
if (!status) {
|
||||||
statusbar(_("Error writing temp file: %s"), strerror(errno));
|
statusbar(_("Error writing temp file: %s"), strerror(errno));
|
||||||
|
|
Loading…
Reference in New Issue