From 0954e608ce48225d3e4581297e5fa63b7ca1169b Mon Sep 17 00:00:00 2001 From: aph Date: Wed, 2 Apr 2014 20:20:33 +0100 Subject: remove pchar from macros.h --- src/ops.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ops.c') diff --git a/src/ops.c b/src/ops.c index c92dc6b921..06ce1b0ba9 100644 --- a/src/ops.c +++ b/src/ops.c @@ -1698,6 +1698,14 @@ static void mb_adjust_opend(oparg_T *oap) } } +/* + * Put character 'c' at position 'lp' + */ +static inline void pchar(pos_T lp, int c) +{ + *(ml_get_buf(curbuf, lp.lnum, TRUE) + lp.col) = c;; +} + /* * Replace a whole area with one character. */ -- cgit