diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/fileio.c | 3 | ||||
-rw-r--r-- | src/nvim/os/os_defs.h | 2 | ||||
-rw-r--r-- | src/nvim/screen.c | 1 | ||||
-rw-r--r-- | src/nvim/version.c | 4 |
4 files changed, 4 insertions, 6 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 23292ff4ac..05cb8f8f8c 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -1878,7 +1878,8 @@ failed: } if (msg_add_fileformat(fileformat)) c = TRUE; - msg_add_lines(c, (long)linecnt, filesize); + + msg_add_lines(c, (long)linecnt, filesize); xfree(keep_msg); keep_msg = NULL; diff --git a/src/nvim/os/os_defs.h b/src/nvim/os/os_defs.h index 26e479492e..79d14920eb 100644 --- a/src/nvim/os/os_defs.h +++ b/src/nvim/os/os_defs.h @@ -58,7 +58,7 @@ # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) #endif #if !defined(S_ISLNK) && defined(S_IFLNK) -# define S_IFLNK(m) (((m) & S_IFMT) == S_IFLNK) +# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) #endif #if !defined(S_ISBLK) && defined(S_IFBLK) # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) diff --git a/src/nvim/screen.c b/src/nvim/screen.c index c4264cbcee..977dd5b2d4 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -4105,7 +4105,6 @@ win_line ( * xterm/screen: write an extra character beyond the end of * the line. This will work with all terminal types * (regardless of the xn,am settings). - * Only do this on a fast tty. * Only do this if the cursor is on the current line * (something has been written in it). * Don't do this for the GUI. diff --git a/src/nvim/version.c b/src/nvim/version.c index 0d8afc4e53..6919efe871 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -35,8 +35,6 @@ char *Version = VIM_VERSION_SHORT; char *longVersion = NVIM_VERSION_LONG; -char *longVersionWithDate = NVIM_VERSION_LONG \ - " (compiled " __DATE__ " " __TIME__ ")"; char *version_buildtype = "Build type: " NVIM_VERSION_BUILD_TYPE; char *version_cflags = "Compilation: " NVIM_VERSION_CFLAGS; @@ -1173,7 +1171,7 @@ void list_version(void) { // When adding features here, don't forget to update the list of // internal variables in eval.c! - MSG(longVersionWithDate); + MSG(longVersion); MSG(version_buildtype); MSG(version_cflags); |