summaryrefslogtreecommitdiffstats
path: root/src/highlight.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/highlight.c
parent70def98a957620cc325d1ab6ee35f13187598693 (diff)
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/highlight.c')
-rw-r--r--src/highlight.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/highlight.c b/src/highlight.c
index 1333362dbd..3c0eb199ba 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -3682,7 +3682,8 @@ match_add(
return -1;
if (id < -1 || id == 0)
{
- semsg(_("E799: Invalid ID: %d (must be greater than or equal to 1)"), id);
+ semsg(_("E799: Invalid ID: %d (must be greater than or equal to 1)"),
+ id);
return -1;
}
if (id != -1)
@@ -4346,7 +4347,7 @@ prepare_search_hl_line(
* After end, check for start/end of next match.
* When another match, have to check for start again.
* Watch out for matching an empty string!
- * Return the udpated search_attr.
+ * Return the updated search_attr.
*/
int
update_search_hl(