diff src/ex_docmd.c @ 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 84a8d1ba81c3
children afb00cc8caac
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;