summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-10-15 13:22:01 +0200
committerBram Moolenaar <Bram@vim.org>2017-10-15 13:22:01 +0200
commit9377df3ecd0bd3acb5d46cb8af7fe60867f247f2 (patch)
treeb6ef803c19ff558bd280b1c79fbc6362fb66eda3 /src/terminal.c
parent65e4c4f6868882a380c319632a1728a5e7d274ad (diff)
downloadvim-git-8.0.1195.tar.gz
patch 8.0.1195: can't build on MS-Windowsv8.0.1195
Problem: Can't build on MS-Windows. Solution: Adjust #ifdef and add #ifdefs.
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 9519c819f..7aa0a408e 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -2624,8 +2624,10 @@ create_vterm(term_T *term, int rows, int cols)
fg->blue = tmp;
# endif
}
+# ifdef FEAT_TERMRESPONSE
else
term_get_fg_color(&fg->red, &fg->green, &fg->blue);
+# endif
if (cterm_normal_bg_color > 0)
{
@@ -2636,8 +2638,10 @@ create_vterm(term_T *term, int rows, int cols)
bg->blue = tmp;
# endif
}
+# ifdef FEAT_TERMRESPONSE
else
term_get_bg_color(&bg->red, &bg->green, &bg->blue);
+# endif
}
vterm_state_set_default_colors(vterm_obtain_state(vterm), fg, bg);