Xavier de Gaye wrote:

> When gvim is started with two '-nb' command line options, the global
> variable 'usingNetbeans' has a value of 2, and the following condition
> in ex_cmds.c is always false:
> 
>     usingNetbeans & ((flags & ECMD_SET_HELP) != ECMD_SET_HELP)
> 
> since 2 & 1 equals 0, and 2 & 0 equals 0.
> 
> As a result, some of the netbeans 'fileOpened' events are not sent.
> The following patch replaces the bit-string operator '&', with the
> boolean operator '&&':

Thanks for the fix!

-- 
hundred-and-one symptoms of being an internet addict:
219. Your spouse has his or her lawyer deliver the divorce papers...
     via e-mail.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui