diff --git a/src/ex_cmds.c b/src/ex_cmds.c index cd2c3046f4..c4a86c90e9 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -729,15 +729,9 @@ ex_uniq(exarg_T *eap) } } - // Make an array with all line numbers. This avoids having to copy all - // the lines into allocated memory. - // When remove deplicating on strings "start_col_nr" is the offset in the - // line, for numbers remove deplicating it's the number to uniq on. This - // means the pattern matching only has to be done once per line. - // Also get the longest line length for allocating "sortbuf". + // Find the length of the longest line. for (lnum = eap->line1; lnum <= eap->line2; ++lnum) { - s = ml_get(lnum); len = ml_get_len(lnum); if (maxlen < len) maxlen = len; diff --git a/src/version.c b/src/version.c index df89e19d6c..6db18c6181 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,10 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1478, +/**/ + 1477, /**/ 1476, /**/