Mercurial > vim
comparison src/ui.c @ 18498:9e6d5a4abb1c v8.1.2243
patch 8.1.2243: typos in comments
Commit: https://github.com/vim/vim/commit/32aa10203bd0b4b270def03311a4599f9ffdecc4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 2 22:54:41 2019 +0100
patch 8.1.2243: typos in comments
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes https://github.com/vim/vim/issues/5160) Also adjust
formatting a bit.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Nov 2019 23:00:06 +0100 |
parents | 59bc3cd42cf5 |
children | bbea1f108187 |
comparison
equal
deleted
inserted
replaced
18497:14e9f08eec14 | 18498:9e6d5a4abb1c |
---|---|
911 clip_unnamed_saved = clip_unnamed; | 911 clip_unnamed_saved = clip_unnamed; |
912 clipboard_needs_update = FALSE; | 912 clipboard_needs_update = FALSE; |
913 | 913 |
914 if (clip_did_set_selection) | 914 if (clip_did_set_selection) |
915 { | 915 { |
916 clip_unnamed = FALSE; | 916 clip_unnamed = 0; |
917 clip_did_set_selection = FALSE; | 917 clip_did_set_selection = FALSE; |
918 } | 918 } |
919 } | 919 } |
920 | 920 |
921 /* | 921 /* |
939 return; | 939 return; |
940 if (!clip_did_set_selection) | 940 if (!clip_did_set_selection) |
941 { | 941 { |
942 clip_did_set_selection = TRUE; | 942 clip_did_set_selection = TRUE; |
943 clip_unnamed = clip_unnamed_saved; | 943 clip_unnamed = clip_unnamed_saved; |
944 clip_unnamed_saved = FALSE; | 944 clip_unnamed_saved = 0; |
945 if (clipboard_needs_update) | 945 if (clipboard_needs_update) |
946 { | 946 { |
947 /* only store something in the clipboard, | 947 /* only store something in the clipboard, |
948 * if we have yanked anything to it */ | 948 * if we have yanked anything to it */ |
949 if (clip_unnamed & CLIP_UNNAMED) | 949 if (clip_unnamed & CLIP_UNNAMED) |