comparison src/vim.h @ 15822:9745c25da3bc v8.1.0918

patch 8.1.0918: MS-Windows: startup messages are not converted commit https://github.com/vim/vim/commit/9b5c1fcdeae75f82a2083fafbbf75ab220f6ac1e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 14 14:08:04 2019 +0100 patch 8.1.0918: MS-Windows: startup messages are not converted Problem: MS-Windows: startup messages are not converted. Solution: Convert messages when the current codepage differs from 'encoding'. (Yasuhiro Matsumoto, closes #3914)
author Bram Moolenaar <Bram@vim.org>
date Thu, 14 Feb 2019 14:15:15 +0100
parents 2b29779475c0
children 7fad90423bd2
comparison
equal deleted inserted replaced
15821:1c1897fe1cc2 15822:9745c25da3bc
2091 2091
2092 /* This has to go after the include of proto.h, as proto/gui.pro declares 2092 /* This has to go after the include of proto.h, as proto/gui.pro declares
2093 * functions of these names. The declarations would break if the defines had 2093 * functions of these names. The declarations would break if the defines had
2094 * been seen at that stage. But it must be before globals.h, where error_ga 2094 * been seen at that stage. But it must be before globals.h, where error_ga
2095 * is declared. */ 2095 * is declared. */
2096 #if !defined(FEAT_GUI_W32) && !defined(FEAT_GUI_X11) \ 2096 #if !defined(MSWIN) && !defined(FEAT_GUI_X11) \
2097 && !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_MAC) && !defined(PROTO) 2097 && !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_MAC) && !defined(PROTO)
2098 # define mch_errmsg(str) fprintf(stderr, "%s", (str)) 2098 # define mch_errmsg(str) fprintf(stderr, "%s", (str))
2099 # define display_errors() fflush(stderr) 2099 # define display_errors() fflush(stderr)
2100 # define mch_msg(str) printf("%s", (str)) 2100 # define mch_msg(str) printf("%s", (str))
2101 #else 2101 #else