aboutsummaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 6c4a6e9584..6d7ea37f9a 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -1608,9 +1608,10 @@ rewind_retry:
if (fileformat == EOL_UNKNOWN)
fileformat = default_fileformat();
- /* if editing a new file: may set p_tx and p_ff */
- if (set_options)
+ // May set 'p_ff' if editing a new file.
+ if (set_options) {
set_fileformat(fileformat, OPT_LOCAL);
+ }
}
}