summaryrefslogtreecommitdiffstats
path: root/src/netbeans.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index 8339b952b8..d393bbab7a 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -1843,7 +1843,7 @@ nb_do_cmd(
out_flush_cursor(TRUE, FALSE);
// Quit a hit-return or more prompt.
- if (State == HITRETURN || State == ASKMORE)
+ if (State == MODE_HITRETURN || State == MODE_ASKMORE)
{
#ifdef FEAT_GUI_GTK
if (gui.in_use && gtk_main_level() > 0)
@@ -2229,7 +2229,7 @@ nb_do_cmd(
out_flush_cursor(TRUE, FALSE);
// Quit a hit-return or more prompt.
- if (State == HITRETURN || State == ASKMORE)
+ if (State == MODE_HITRETURN || State == MODE_ASKMORE)
{
#ifdef FEAT_GUI_GTK
if (gui.in_use && gtk_main_level() > 0)
@@ -2323,7 +2323,7 @@ special_keys(char_u *args)
strcpy(&keybuf[i], tok);
vim_snprintf(cmdbuf, sizeof(cmdbuf),
"<silent><%s> :nbkey %s<CR>", keybuf, keybuf);
- do_map(0, (char_u *)cmdbuf, NORMAL, FALSE);
+ do_map(0, (char_u *)cmdbuf, MODE_NORMAL, FALSE);
}
tok = strtok(NULL, " ");
}