tweaks: adjust indentation after the previous change

Also improve a couple of comments.
master
Benno Schulenberg 2018-08-08 19:53:05 +02:00
parent 61b4eeda66
commit 94b4f07281
1 changed files with 28 additions and 27 deletions

View File

@ -2872,12 +2872,13 @@ const char *do_alt_speller(char *tempfile_name)
if (!WIFEXITED(alt_spell_status) || WEXITSTATUS(alt_spell_status) != 0)
return invocation_error(alt_speller);
/* Stat the temporary file again, and only read it in when it changed. */
/* Stat the temporary file again. */
stat(tempfile_name, &spellfileinfo);
/* Use the spell-checked file only when it changed. */
if (spellfileinfo.st_mtime != timestamp) {
#ifndef NANO_TINY
/* Replace the marked text (or the entire text) of the current buffer
* with the spell-checked text. */
/* Replace the marked text (or entire text) with the corrected text. */
if (openfile->mark) {
filestruct *top, *bot;
size_t top_x, bot_x;