summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-02-18 18:42:52 +0000
committerBram Moolenaar <Bram@vim.org>2008-02-18 18:42:52 +0000
commit48c99164f44b336527fde004804158c386db2bb5 (patch)
treefa17fa9e1f83e3da31d753f3c8a8ee251d25b69f /src
parent275a8a0c9b079432a6525a2c89dc981fe663fd80 (diff)
updated for version 7.1-253v7.1.253
Diffstat (limited to 'src')
-rw-r--r--src/ex_cmds.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index f207ee7e00..a87dab6a6f 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -365,6 +365,10 @@ ex_sort(eap)
int sort_oct; /* sort on octal number */
int sort_hex; /* sort on hex number */
+ /* Sorting one line is really quick! */
+ if (count <= 1)
+ return;
+
if (u_save((linenr_T)(eap->line1 - 1), (linenr_T)(eap->line2 + 1)) == FAIL)
return;
sortbuf1 = NULL;
diff --git a/src/version.c b/src/version.c
index 2c3b9c6e29..dc7a05a391 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 253,
+/**/
252,
/**/
251,