patch 8.1.2243: typos in comments
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust
formatting a bit.
diff --git a/src/highlight.c b/src/highlight.c
index 1333362..3c0eb19 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -3682,7 +3682,8 @@
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 @@
* 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(