From: Bram Moolenaar Date: Mon, 18 Feb 2008 18:42:52 +0000 (+0000) Subject: updated for version 7.1-253 X-Git-Tag: v7.1.253 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48c99164f44b336527fde004804158c386db2bb5;p=vim updated for version 7.1-253 --- diff --git a/src/ex_cmds.c b/src/ex_cmds.c index f207ee7e0..a87dab6a6 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 2c3b9c6e2..dc7a05a39 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 253, /**/ 252, /**/