diff options
author | Bram Moolenaar <bram@vim.org> | 2013-06-14 19:15:58 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-06-14 19:15:58 +0200 |
commit | e86924d884260bfe193cbed15fb2bba3b2255a33 (patch) | |
tree | d4baa8710cf5917c4015d1694d5e19bba8be8f6e | |
parent | 8723f20807fcb3e945efd45681e32c26924281d9 (diff) | |
download | vim-e86924d884260bfe193cbed15fb2bba3b2255a33.tar.gz |
Problem: Compiler warning for parentheses. (Christian Wellenbrock)
Solution: Change #ifdef.
-rw-r--r-- | src/ex_docmd.c | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index fe711d79..6b2cdb38 100644 --- 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 + (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; diff --git a/src/version.c b/src/version.c index 2c2a00eb..ca915094 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1190, +/**/ 1189, /**/ 1188, |