summaryrefslogtreecommitdiff
path: root/src/ui.c
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/ui.c
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/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index e21e8013f..5c9077c05 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -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)))
{