patch 8.1.1316: duplicated localtime() call
Problem: Duplicated localtime() call.
Solution: Delete one.
diff --git a/src/undo.c b/src/undo.c
index 2f1924c..c4558d1 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -3117,7 +3117,6 @@
if (vim_time() - tt >= 100)
{
- curtime = localtime(&tt);
# ifdef HAVE_LOCALTIME_R
curtime = localtime_r(&tt, &tmval);
# else
diff --git a/src/version.c b/src/version.c
index 0e40f61..d31e611 100644
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1316,
+/**/
1315,
/**/
1314,