Mercurial > vim
diff src/option.h @ 15967:ddd82b1c9e9d v8.1.0989
patch 8.1.0989: various small code ugliness
commit https://github.com/vim/vim/commit/bdace838c67c1bd94e55e34270a8325933891466
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 2 10:13:42 2019 +0100
patch 8.1.0989: various small code ugliness
Problem: Various small code ugliness.
Solution: Remove pointless NULL checks. Fix function calls. Fix typos.
(Dominique Pelle, closes #4060)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Mar 2019 10:15:06 +0100 |
parents | 7fad90423bd2 |
children | 54ffc82f38a8 |
line wrap: on
line diff
--- 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 */