summaryrefslogtreecommitdiffstats
path: root/src/macros.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-07-29 16:09:22 +0200
committerBram Moolenaar <Bram@vim.org>2018-07-29 16:09:22 +0200
commit1f0bfe561737cd445532f20d7607a81d1dadddee (patch)
tree7328a946135589dc8e69e2e4ff34afbd18be2e77 /src/macros.h
parent612cc3888b136e80485132d9f997ed457dbc5501 (diff)
patch 8.1.0226: too many #ifdefsv8.1.0226
Problem: Too many #ifdefs. Solution: Graduate the +vreplace feature, it's not much code and quite a few #ifdefs.
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/macros.h b/src/macros.h
index c91b4b6205..1654e3e558 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -235,11 +235,7 @@
# define TIME_MSG(s) do { /**/ } while (0)
#endif
-#ifdef FEAT_VREPLACE
-# define REPLACE_NORMAL(s) (((s) & REPLACE_FLAG) && !((s) & VREPLACE_FLAG))
-#else
-# define REPLACE_NORMAL(s) ((s) & REPLACE_FLAG)
-#endif
+#define REPLACE_NORMAL(s) (((s) & REPLACE_FLAG) && !((s) & VREPLACE_FLAG))
#ifdef FEAT_ARABIC
# define UTF_COMPOSINGLIKE(p1, p2) utf_composinglike((p1), (p2))