Ben Is there a reason you don't use the ?: operator?
if (p_acd)
{
ea.cmdidx = CMD_cd;
}
else
{
ea.cmdidx = CMD_lcd;
}
seems more vim-C-ish written as
ea.cmdidx = p_acd ? CMD_cd : CMD_lcd;
to me, anyway.
Regards, John
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
