Mercurial > vim
diff src/globals.h @ 14171:ddf160d82971 v8.1.0103
patch 8.1.0103: long version string cannot be translated
commit https://github.com/vim/vim/commit/35fb6fbf727c72eb5987a1556bbba26dca14cc48
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 23 16:12:21 2018 +0200
patch 8.1.0103: long version string cannot be translated
Problem: Long version string cannot be translated.
Solution: Build the string in init_longVersion().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Jun 2018 16:15:05 +0200 |
parents | 7cac4646c552 |
children | 0a69e6e708f9 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -1131,12 +1131,12 @@ EXTERN char_u tolower_tab[256]; /* table EXTERN char breakat_flags[256]; /* which characters are in 'breakat' */ #endif -/* these are in version.c */ +/* These are in version.c, call init_longVersion() before use. */ extern char *Version; #if defined(HAVE_DATE_TIME) && defined(VMS) && defined(VAXC) extern char longVersion[]; #else -extern char *longVersion; +EXTERN char *longVersion; #endif /*