diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-02-11 19:18:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-02-11 19:18:58 +0100 |
commit | 0bcadf14aa700c166c09f1800ed3de00b9598b39 (patch) | |
tree | 6b8e55811cd7180b51dd2c2165e72fcd4cc51218 /src/main.c | |
parent | 3b678047bcd50d6f409175dcffe7839dbb74728b (diff) |
patch 8.2.2500: build fails without the GUI featurev8.2.2500
Problem: Build fails without the GUI feature.
Solution: Add #ifdef.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 82e89a8cb7..76252c7d1f 100644 --- a/src/main.c +++ b/src/main.c @@ -1979,7 +1979,9 @@ command_line_scan(mparm_T *parmp) { Columns = 80; // need to init Columns info_message = TRUE; // use mch_msg(), not mch_errmsg() +#if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) gui.starting = FALSE; // not starting GUI, will exit +#endif list_version(); msg_putchar('\n'); msg_didout = FALSE; |