Skip to content

Commit b8329db

Browse files
committed
patch 9.0.0044: typos in comments, wrapping lines
Problem: Typos in comments, wrapping lines. Solution: Adjust comments. Wrap lines.
1 parent 5ed1153 commit b8329db

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

src/ex_docmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3120,7 +3120,7 @@ parse_command_modifiers(
31203120
// Special case: empty command uses "+":
31213121
// "'<,'>mods" -> "mods *+
31223122
// Use "*" instead of "'<,'>" to avoid the command getting
3123-
// longer, in case is was allocated.
3123+
// longer, in case it was allocated.
31243124
mch_memmove(orig_cmd, cmd_start, len);
31253125
STRCPY(orig_cmd + len, " *+");
31263126
}

src/getchar.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3020,8 +3020,9 @@ check_end_reg_executing(int advance)
30203020
vgetorpeek(int advance)
30213021
{
30223022
int c, c1;
3023-
int timedout = FALSE; // waited for more than 1 second
3024-
// for mapping to complete
3023+
int timedout = FALSE; // waited for more than 'timeoutlen'
3024+
// for mapping to complete or
3025+
// 'ttimeoutlen' for complete key code
30253026
int mapdepth = 0; // check for recursive mapping
30263027
int mode_deleted = FALSE; // set when mode has been deleted
30273028
#ifdef FEAT_CMDL_INFO

src/message.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,8 @@ msg_prt_line(char_u *s, int list)
18831883
--trail;
18841884
}
18851885
// find end of leading whitespace
1886-
if (curwin->w_lcs_chars.lead || curwin->w_lcs_chars.leadmultispace != NULL)
1886+
if (curwin->w_lcs_chars.lead
1887+
|| curwin->w_lcs_chars.leadmultispace != NULL)
18871888
{
18881889
lead = s;
18891890
while (VIM_ISWHITE(lead[0]))

src/search.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2059,7 +2059,6 @@ find_mps_values(
20592059
* "oap" is only used to set oap->motion_type for a linewise motion, it can be
20602060
* NULL
20612061
*/
2062-
20632062
pos_T *
20642063
findmatchlimit(
20652064
oparg_T *oap,

src/textformat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ internal_format(
9292
int did_do_comment = FALSE;
9393

9494
virtcol = get_nolist_virtcol()
95-
+ char2cells(c != NUL ? c : gchar_cursor());
95+
+ char2cells(c != NUL ? c : gchar_cursor());
9696
if (virtcol <= (colnr_T)textwidth)
9797
break;
9898

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,8 @@ static char *(features[]) =
735735

736736
static int included_patches[] =
737737
{ /* Add new patch number below this line */
738+
/**/
739+
44,
738740
/**/
739741
43,
740742
/**/

0 commit comments

Comments
 (0)