1
0
forked from aniani/vim

updated for version 7.3.1190

Problem:    Compiler warning for parentheses. (Christian Wellenbrock)
Solution:   Change #ifdef.
This commit is contained in:
Bram Moolenaar
2013-06-14 19:15:58 +02:00
parent 4c46b5e001
commit 6e70736cbc
2 changed files with 7 additions and 3 deletions

View File

@@ -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
(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;