diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2015-03-01 16:59:24 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-08 21:54:57 -0400 |
commit | e0f8eea9f103370be7fd8faefae78482c654cb06 (patch) | |
tree | ce6c4318f8c909d77597c616469159d0902e3fda /src/nvim/hardcopy.c | |
parent | 4f92178a7597f0478f306086933a163109ee894c (diff) | |
download | rneovim-e0f8eea9f103370be7fd8faefae78482c654cb06.tar.gz rneovim-e0f8eea9f103370be7fd8faefae78482c654cb06.tar.bz2 rneovim-e0f8eea9f103370be7fd8faefae78482c654cb06.zip |
version: don't use NVIM_VERSION_* directly outside version.c
This avoids recompiles after commiting.
Diffstat (limited to 'src/nvim/hardcopy.c')
-rw-r--r-- | src/nvim/hardcopy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/hardcopy.c b/src/nvim/hardcopy.c index 0da5caf7cd..db81746d73 100644 --- a/src/nvim/hardcopy.c +++ b/src/nvim/hardcopy.c @@ -21,7 +21,6 @@ #ifdef HAVE_LOCALE_H # include <locale.h> #endif -#include "nvim/version_defs.h" #include "nvim/hardcopy.h" #include "nvim/buffer.h" #include "nvim/charset.h" @@ -42,6 +41,7 @@ #include "nvim/strings.h" #include "nvim/syntax.h" #include "nvim/ui.h" +#include "nvim/version.h" #include "nvim/tempfile.h" #include "nvim/os/os.h" #include "nvim/os/input.h" @@ -2440,7 +2440,7 @@ int mch_print_begin(prt_settings_T *psettings) STRCPY(buffer, "Unknown"); } prt_dsc_textline("For", buffer); - prt_dsc_textline("Creator", NVIM_VERSION_LONG); + prt_dsc_textline("Creator", longVersion); /* Note: to ensure Clean8bit I don't think we can use LC_TIME */ now = time(NULL); p_time = ctime(&now); |