aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/macros.h
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-08-24 03:04:08 -0400
committerJustin M. Keyes <justinkz@gmail.com>2019-08-24 09:04:08 +0200
commit34e416667378a610943f614b97da9b865d622806 (patch)
tree0d52a0f0f710935fdb45049aa0e54464b6e37224 /src/nvim/macros.h
parent82aaac5baafb4101022604c5e720e37987279184 (diff)
downloadrneovim-34e416667378a610943f614b97da9b865d622806.tar.gz
rneovim-34e416667378a610943f614b97da9b865d622806.tar.bz2
rneovim-34e416667378a610943f614b97da9b865d622806.zip
vim-patch:8.0.1236: Mac features are confusing #10837
Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes vim/vim#2178) https://github.com/vim/vim/commit/d057301b1f28736f094affa17b190244ad56e8d9
Diffstat (limited to 'src/nvim/macros.h')
-rw-r--r--src/nvim/macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/macros.h b/src/nvim/macros.h
index 018985fad2..760f690e87 100644
--- a/src/nvim/macros.h
+++ b/src/nvim/macros.h
@@ -109,7 +109,7 @@
// MB_COPY_CHAR(f, t): copy one char from "f" to "t" and advance the pointers.
// PTR2CHAR(): get character from pointer.
-// Get the length of the character p points to
+// Get the length of the character p points to, including composing chars.
# define MB_PTR2LEN(p) mb_ptr2len(p)
// Advance multi-byte pointer, skip over composing chars.
# define MB_PTR_ADV(p) (p += mb_ptr2len((char_u *)p))