summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-05-13 20:19:58 +0200
committerBram Moolenaar <Bram@vim.org>2014-05-13 20:19:58 +0200
commit24dc230871258018d2a6a616039283cb7f17684d (patch)
tree5acb22525821718c72be1a2ef24a1af874954a19 /src/macros.h
parentcaca646bf0f5e55fe32604e90b87b02034e2812b (diff)
downloadvim-git-24dc230871258018d2a6a616039283cb7f17684d.tar.gz
updated for version 7.4.295v7.4.295
Problem: Various typos, bad white space and unclear comments. Solution: Fix typos. Improve white space. Update comments.
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.h b/src/macros.h
index f4a068cfb..2706a0252 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -264,7 +264,7 @@
# define mb_ptr_adv(p) p += has_mbyte ? (*mb_ptr2len)(p) : 1
/* Advance multi-byte pointer, do not skip over composing chars. */
# define mb_cptr_adv(p) p += enc_utf8 ? utf_ptr2len(p) : has_mbyte ? (*mb_ptr2len)(p) : 1
-/* Backup multi-byte pointer. */
+/* Backup multi-byte pointer. Only use with "p" > "s" ! */
# define mb_ptr_back(s, p) p -= has_mbyte ? ((*mb_head_off)(s, p - 1) + 1) : 1
/* get length of multi-byte char, not including composing chars */
# define mb_cptr2len(p) (enc_utf8 ? utf_ptr2len(p) : (*mb_ptr2len)(p))