emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 bf771e31bc: ; * src/xdisp.c (get_overlay_arrow_glyph_row): Bett


From: Eli Zaretskii
Subject: emacs-28 bf771e31bc: ; * src/xdisp.c (get_overlay_arrow_glyph_row): Better var name.
Date: Thu, 21 Apr 2022 16:26:40 -0400 (EDT)

branch: emacs-28
commit bf771e31bc93d5d48e0661b875cc785c792d214f
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * src/xdisp.c (get_overlay_arrow_glyph_row): Better var name.
---
 src/xdisp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 71de359222..42c3e81e5c 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -21653,7 +21653,7 @@ get_overlay_arrow_glyph_row (struct window *w, 
Lisp_Object overlay_arrow_string)
   struct buffer *buffer = XBUFFER (w->contents);
   struct buffer *old = current_buffer;
   const unsigned char *arrow_string = SDATA (overlay_arrow_string);
-  ptrdiff_t arrow_len = SCHARS (overlay_arrow_string), nchars = 0;
+  ptrdiff_t arrow_len = SCHARS (overlay_arrow_string), char_num = 0;
   const unsigned char *arrow_end = arrow_string + arrow_len;
   const unsigned char *p;
   struct it it;
@@ -21684,7 +21684,7 @@ get_overlay_arrow_glyph_row (struct window *w, 
Lisp_Object overlay_arrow_string)
       p += it.len;
 
       /* Get its face.  */
-      ilisp = make_fixnum (nchars++);
+      ilisp = make_fixnum (char_num++);
       face = Fget_text_property (ilisp, Qface, overlay_arrow_string);
       it.face_id = compute_char_face (f, it.char_to_display, face);
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]