summaryrefslogtreecommitdiff
path: root/src/register.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-02 22:54:41 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-02 22:54:41 +0100
commit32aa10203bd0b4b270def03311a4599f9ffdecc4 (patch)
tree4c0188d20dcc6873e6d96f5a28b59bedcb8ebb0c /src/register.c
parent70def98a957620cc325d1ab6ee35f13187598693 (diff)
downloadvim-git-32aa10203bd0b4b270def03311a4599f9ffdecc4.tar.gz
patch 8.1.2243: typos in commentsv8.1.2243
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
Diffstat (limited to 'src/register.c')
-rw-r--r--src/register.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/register.c b/src/register.c
index 554af8280..2e838402b 100644
--- a/src/register.c
+++ b/src/register.c
@@ -899,8 +899,8 @@ adjust_clip_reg(int *rp)
*rp = ((clip_unnamed & CLIP_UNNAMED_PLUS) && clip_plus.available)
? '+' : '*';
else
- *rp = ((clip_unnamed_saved & CLIP_UNNAMED_PLUS) && clip_plus.available)
- ? '+' : '*';
+ *rp = ((clip_unnamed_saved & CLIP_UNNAMED_PLUS)
+ && clip_plus.available) ? '+' : '*';
}
if (!clip_star.available && *rp == '*')
*rp = 0;
@@ -1288,7 +1288,7 @@ op_yank(oparg_T *oap, int deleting, int mess)
&& !oap->block_mode
&& yanklines == 1)
yanklines = 0;
- // Some versions of Vi use ">=" here, some don't...
+ // Some versions of Vi use ">=" here, some don't...
if (yanklines > p_report)
{
char namebuf[100];