diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-05-13 20:19:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-05-13 20:19:58 +0200 |
commit | 24dc230871258018d2a6a616039283cb7f17684d (patch) | |
tree | 5acb22525821718c72be1a2ef24a1af874954a19 /src/macros.h | |
parent | caca646bf0f5e55fe32604e90b87b02034e2812b (diff) | |
download | vim-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.h | 2 |
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)) |