0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

Various improvements to undo file code to make it more robust.

This commit is contained in:
Bram Moolenaar
2010-05-29 20:33:07 +02:00
parent f05e3b0220
commit 9db580634c
7 changed files with 563 additions and 483 deletions

View File

@@ -6134,7 +6134,7 @@ emsgn(s, n)
get2c(fd)
FILE *fd;
{
long n;
int n;
n = getc(fd);
n = (n << 8) + getc(fd);
@@ -6148,7 +6148,7 @@ get2c(fd)
get3c(fd)
FILE *fd;
{
long n;
int n;
n = getc(fd);
n = (n << 8) + getc(fd);
@@ -6163,7 +6163,7 @@ get3c(fd)
get4c(fd)
FILE *fd;
{
long n;
int n;
n = getc(fd);
n = (n << 8) + getc(fd);