From bdace838c67c1bd94e55e34270a8325933891466 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 2 Mar 2019 10:13:42 +0100 Subject: 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) --- src/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui.c') 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))) { -- cgit v1.2.1