aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/macros.h
diff options
context:
space:
mode:
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))