summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-02 10:13:42 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-02 10:13:42 +0100
commitbdace838c67c1bd94e55e34270a8325933891466 (patch)
treecf80ca41305e4c04a2ccb293b6634b20fb235fbe /src/option.h
parentd82a81cad93708a6c180e59119db4818cc38c1a9 (diff)
downloadvim-git-bdace838c67c1bd94e55e34270a8325933891466.tar.gz
patch 8.1.0989: various small code uglinessv8.1.0989
Problem: Various small code ugliness. Solution: Remove pointless NULL checks. Fix function calls. Fix typos. (Dominique Pelle, closes #4060)
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.h b/src/option.h
index 782452006..9050bab70 100644
--- a/src/option.h
+++ b/src/option.h
@@ -193,8 +193,8 @@
#define SHM_WRI 'w' /* "[w]" instead of "written" */
#define SHM_A "rmfixlnw" /* represented by 'a' flag */
#define SHM_WRITE 'W' /* don't use "written" at all */
-#define SHM_TRUNC 't' /* trunctate file messages */
-#define SHM_TRUNCALL 'T' /* trunctate all messages */
+#define SHM_TRUNC 't' /* truncate file messages */
+#define SHM_TRUNCALL 'T' /* truncate all messages */
#define SHM_OVER 'o' /* overwrite file messages */
#define SHM_OVERALL 'O' /* overwrite more messages */
#define SHM_SEARCH 's' /* no search hit bottom messages */