summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-22 18:28:27 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-22 18:28:27 +0200
commit67c53844343011089e1b847200b5c5257a83e1c4 (patch)
tree8f1c5bfe10864b7e49a8bc62ce12b1db449803da /src/ex_cmds.c
parentca7e1f2066e3518ee6caeef32e499ab954ec05a3 (diff)
downloadvim-git-67c53844343011089e1b847200b5c5257a83e1c4.tar.gz
Included the patch to support netbeans in a terminal.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 1f9a7f217..bcbcc8ba6 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3815,10 +3815,10 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags, oldwin)
DO_AUTOCHDIR
#if defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG)
- if (gui.in_use && curbuf->b_ffname != NULL)
+ if (curbuf->b_ffname != NULL)
{
# ifdef FEAT_SUN_WORKSHOP
- if (usingSunWorkShop)
+ if (gui.in_use && usingSunWorkShop)
workshop_file_opened((char *)curbuf->b_ffname, curbuf->b_p_ro);
# endif
# ifdef FEAT_NETBEANS_INTG