]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-253 v7.1.253
authorBram Moolenaar <Bram@vim.org>
Mon, 18 Feb 2008 18:42:52 +0000 (18:42 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 18 Feb 2008 18:42:52 +0000 (18:42 +0000)
src/ex_cmds.c
src/version.c

index f207ee7e00710459dcea1dce7c0abb25b1ab2b9e..a87dab6a6fdffc24f039ad41575cd167a08862cb 100644 (file)
@@ -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;
index 2c3b9c6e2946203a2ed31b3f3a7dfa4829546afe..dc7a05a391f67b12c2a18c6ac5dfbbf26d66534c 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    253,
 /**/
     252,
 /**/