diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-02 10:13:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-02 10:13:42 +0100 |
commit | bdace838c67c1bd94e55e34270a8325933891466 (patch) | |
tree | cf80ca41305e4c04a2ccb293b6634b20fb235fbe /src/ui.c | |
parent | d82a81cad93708a6c180e59119db4818cc38c1a9 (diff) | |
download | vim-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/ui.c')
-rw-r--r-- | src/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1738,7 +1738,7 @@ clip_gen_set_selection(VimClipboard *cbd) if (!clip_did_set_selection) { /* Updating postponed, so that accessing the system clipboard won't - * hang Vim when accessing it many times (e.g. on a :g comand). */ + * hang Vim when accessing it many times (e.g. on a :g command). */ if ((cbd == &clip_plus && (clip_unnamed_saved & CLIP_UNNAMED_PLUS)) || (cbd == &clip_star && (clip_unnamed_saved & CLIP_UNNAMED))) { |