tweaks: do an assignment in a more transparent way

master
Benno Schulenberg 2016-05-08 13:03:47 +02:00
parent 5e4f16da44
commit 21edf7bb90
1 changed files with 6 additions and 6 deletions

View File

@ -2861,12 +2861,12 @@ void do_spell(void)
return;
}
status =
#ifndef NANO_TINY
openfile->mark_set ? write_marked_file(temp, temp_file, TRUE,
OVERWRITE) :
if (openfile->mark_set)
status = write_marked_file(temp, temp_file, TRUE, OVERWRITE);
else
#endif
write_file(temp, temp_file, TRUE, OVERWRITE, FALSE);
status = write_file(temp, temp_file, TRUE, OVERWRITE, FALSE);
if (!status) {
statusbar(_("Error writing temp file: %s"), strerror(errno));