]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.107 v7.3.107
authorBram Moolenaar <Bram@vim.org>
Sat, 22 Jan 2011 20:25:11 +0000 (21:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 22 Jan 2011 20:25:11 +0000 (21:25 +0100)
Problem:    Year number for :undolist can be confused with month or day.
Solution:   Change "%y" to "%Y".

src/undo.c
src/version.c

index af91bd3cdb2ae7c21d128f46d5cb401789e5463b..998f3f3ae134e31ed85d503b7e9c7e2798ee4db3 100644 (file)
@@ -2884,7 +2884,7 @@ u_add_time(buf, buflen, tt)
            (void)strftime((char *)buf, buflen, "%m/%d %H:%M:%S", curtime);
        else
            /* long ago */
-           (void)strftime((char *)buf, buflen, "%y/%m/%d %H:%M:%S", curtime);
+           (void)strftime((char *)buf, buflen, "%Y/%m/%d %H:%M:%S", curtime);
     }
     else
 #endif
index 0e08703646bae2603b3e28a2662d190e22da33cd..12aa05b8f07797566644aed5728d0b2ef76cb82d 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    107,
 /**/
     106,
 /**/