patch 8.1.2243: typos in comments
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust
formatting a bit.
diff --git a/src/getchar.c b/src/getchar.c
index 07383da..31843f6 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -1504,7 +1504,7 @@
}
/*
- * updatescipt() is called when a character can be written into the script file
+ * updatescript() is called when a character can be written into the script file
* or when we have waited some time for a character (c == 0)
*
* All the changed memfiles are synced if c == 0 or when the number of typed