Merge pull request #4459 from fflorent/vim-7.4.1574

vim-patch:7.4.1574
This commit is contained in:
Justin M. Keyes
2016-03-18 12:34:45 -04:00
2 changed files with 8 additions and 1 deletions

View File

@@ -1782,7 +1782,13 @@ void undo_time(long step, int sec, int file, int absolute)
/* "target" is the node below which we want to be.
* Init "closest" to a value we can't reach. */
if (absolute) {
if (step == 0) {
// target 0 does not exist, got to 1 and above it.
target = 1;
above = true;
} else {
target = step;
}
closest = -1;
} else {
/* When doing computations with time_t subtract starttime, because

View File

@@ -69,6 +69,7 @@ static char *features[] = {
// clang-format off
static int included_patches[] = {
1574,
1570,
1511,
1366,