summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index ce5ee76e6..ef39a2982 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2845,7 +2845,7 @@ check_file_readonly(fname, perm)
*
* If "forceit" is true, we don't care for errors when attempting backups.
* In case of an error everything possible is done to restore the original
- * file. But when "forceit" is TRUE, we risk loosing it.
+ * file. But when "forceit" is TRUE, we risk losing it.
*
* When "reset_changed" is TRUE and "append" == FALSE and "start" == 1 and
* "end" == curbuf->b_ml.ml_line_count, reset curbuf->b_changed.
@@ -4442,7 +4442,7 @@ restore_backup:
/*
* If we have a backup file, try to put it in place of the new file,
- * because the new file is probably corrupt. This avoids loosing the
+ * because the new file is probably corrupt. This avoids losing the
* original file when trying to make a backup when writing the file a
* second time.
* When "backup_copy" is set we need to copy the backup over the new