summaryrefslogtreecommitdiffstats
path: root/src/netbeans.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index 1a86727b7a..f4b42dc8ad 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -107,7 +107,7 @@ netbeans_close(void)
nb_channel = NULL;
}
-#ifdef FEAT_BEVAL
+#ifdef FEAT_BEVAL_GUI
bevalServers &= ~BEVAL_NETBEANS;
#endif
@@ -220,7 +220,7 @@ netbeans_connect(char *params, int doabort)
if (nb_channel != NULL)
{
/* success */
-# ifdef FEAT_BEVAL
+# ifdef FEAT_BEVAL_GUI
bevalServers |= BEVAL_NETBEANS;
# endif
@@ -1788,7 +1788,7 @@ nb_do_cmd(
}
else if (streq((char *)cmd, "showBalloon"))
{
-#if defined(FEAT_BEVAL)
+#if defined(FEAT_BEVAL_GUI)
static char *text = NULL;
/*
@@ -2506,7 +2506,7 @@ netbeans_beval_cb(
/* Don't do anything when 'ballooneval' is off, messages scrolled the
* windows up or we have no connection. */
- if (!p_beval || msg_scrolled > 0 || !NETBEANS_OPEN)
+ if (!can_use_beval() || !NETBEANS_OPEN)
return;
if (get_beval_info(beval, TRUE, &wp, &lnum, &text, &col) == OK)