Mercurial > vim
changeset 4889:25d64a4edc0b v7.3.1190
updated for version 7.3.1190
Problem: Compiler warning for parentheses. (Christian Wellenbrock)
Solution: Change #ifdef.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 14 Jun 2013 19:15:58 +0200 |
parents | c628346c7f96 |
children | 96328930d94c |
files | src/ex_docmd.c src/version.c |
diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -8568,11 +8568,13 @@ ex_operators(eap) break; default: /* CMD_rshift or CMD_lshift */ - if ((eap->cmdidx == CMD_rshift) + if ( #ifdef FEAT_RIGHTLEFT - ^ curwin->w_p_rl -#endif - ) + (eap->cmdidx == CMD_rshift) ^ curwin->w_p_rl +#else + eap->cmdidx == CMD_rshift +#endif + ) oa.op_type = OP_RSHIFT; else oa.op_type = OP_LSHIFT;